﻿#i18n-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 0;
}

.i18n-select-label {
  color: var(--red-0);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

#i18n-nav .i18n-link,
#i18n-nav .i18n-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--red-0);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

#i18n-nav .i18n-select {
  padding: 0 24px 0 8px;
  color: var(--red-0);
  cursor: pointer;
  outline: 0;
}

#i18n-nav .i18n-link.active {
  background: var(--red-1);
  color: #fff;
}

.joya-coffee-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(164, 82, 98, 0.2);
  border-radius: 999px;
  background: rgba(255, 246, 238, 0.86);
  color: #a45262;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.joya-coffee-nav:hover {
  background: #a45262;
  color: #fff;
}

.footer-source-note,
.footer-compliance-note,
.footer-contact-note {
  max-width: min(760px, 92vw);
  margin: 4px auto;
  text-align: center;
}

.footer-source-note {
  margin-bottom: 6px;
  font-size: 0.92em;
  opacity: 0.82;
}

.footer-compliance-note {
  color: var(--color-grey);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-contact-note {
  color: var(--color-grey);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 7px auto 4px;
}

.footer-legal-links a {
  color: var(--color-grey);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--red-0);
}

.article-footer .sponsor-wrapper {
  margin: 14px auto 10px;
}

.article-footer .sponsor-button {
  display: none;
  margin: 8px auto;
  border-width: 6px;
  border-color: rgba(255, 82, 82, 0.16);
  border-radius: 999px;
  background: rgba(255, 246, 238, 0.82);
}

.article-footer .sponsor-title {
  padding: 8px 0;
  color: #a45262;
  font-size: 14px;
  letter-spacing: 0;
}

.article-footer .sponsor-icon {
  width: 22px;
}

.article-footer .sponsor-tip {
  opacity: 0.82;
}

.article-footer .sponsor-qr {
  display: flex;
  gap: 12px;
  height: auto;
  opacity: 1;
  overflow: visible;
  transform: none;
}

.sponsor-wrapper-direct .sponsor-title {
  padding: 4px 0 6px;
  color: #a45262;
  font-size: 16px;
  letter-spacing: 0;
}

.sponsor-wrapper-direct .sponsor-qr-image-wrapper img {
  width: min(260px, 72vw);
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(36, 26, 31, 0.14);
}

#footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media screen and (max-width: 959px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  #header {
    min-height: 48vh;
    max-height: 62vh;
  }

  #header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #header-title h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
    line-height: 1.12;
    padding: 0 18px;
    word-break: break-word;
  }

  #subtitle-wrap {
    padding: 0 18px;
  }

  #subtitle {
    font-size: clamp(1rem, 4.6vw, 1.35rem);
    line-height: 1.5;
    word-break: break-word;
  }

  #content {
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px;
    margin-top: 24px;
  }

  #main {
    width: 100%;
    min-width: 0;
  }

  .article,
  .post-wrapper,
  .post-wrap,
  .widget-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .article-inner {
    padding: 20px 16px;
  }

  .article-entry {
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }

  .article-entry img,
  .article-entry video,
  .article-entry iframe {
    max-width: 100%;
    height: auto;
  }

  .article-entry table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .post-wrap {
    margin-left: 0;
    margin-right: 0;
  }

  .post-cover {
    min-height: 180px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
  #i18n-nav .i18n-link,
  #i18n-nav .i18n-select {
    padding: 0 7px;
  }
}

@media screen and (max-width: 479px) {
  .joya-coffee-nav {
    min-height: 26px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--red-0);
    font-size: 0;
    font-weight: 700;
    opacity: 0.78;
  }

  .joya-coffee-nav::after {
    content: "咖啡";
    font-size: 11px;
    line-height: 1;
  }

  #i18n-nav {
    margin-left: 4px;
    gap: 2px;
    padding: 0;
  }

  .i18n-select-label {
    display: none;
  }

  #i18n-nav .i18n-link,
  #i18n-nav .i18n-select {
    min-height: 26px;
    max-width: 68px;
    padding: 0 20px 0 7px;
    font-size: 11px;
  }

  #header {
    min-height: 44vh;
  }

  #content {
    padding: 0 10px;
  }

  .article-inner {
    padding: 18px 14px;
  }

  .article-entry {
    font-size: 15.5px;
  }
}

.home-conversion-hero,
.home-feature-section,
.home-trust-section,
.home-seo-paths,
.home-shop-section {
  margin: 0 0 34px;
}

#content.no-sidebar {
  display: block;
  max-width: min(1180px, calc(100% - 32px));
}

#content.no-sidebar #main {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.post-next-support {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(176, 92, 105, 0.16);
  border-radius: 8px;
  background: rgba(255, 248, 249, 0.64);
}

.post-next-support h3 {
  margin: 0 0 12px !important;
  color: #8b4f5a;
  font-size: 1.05rem;
  line-height: 1.35;
}

.post-next-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.post-next-support-card {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(176, 92, 105, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-default);
  text-decoration: none !important;
}

.post-next-support-card strong {
  color: #8b4f5a;
}

.post-next-support-card span {
  color: var(--color-grey);
  font-size: 0.88rem;
  line-height: 1.55;
}

[data-theme="dark"] .post-next-support {
  border-color: rgba(240, 180, 189, 0.16);
  background: rgba(49, 42, 47, 0.74);
}

[data-theme="dark"] .post-next-support-card {
  border-color: rgba(240, 180, 189, 0.14);
  background: rgba(38, 39, 45, 0.72);
}

[data-theme="dark"] .post-next-support h3,
[data-theme="dark"] .post-next-support-card strong {
  color: #f0b4bd;
}

@media screen and (max-width: 768px) {
  .post-next-support-grid {
    grid-template-columns: 1fr;
  }
}

/* Crystal product shop */
.product-shop,
.product-detail {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.product-shop-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(20, 16, 24, 0.76);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  color: #fff;
  text-align: center;
}

.product-shop-intro p {
  margin: 0;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.product-shop-intro a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.product-categories {
  margin: 0 auto 28px;
  padding: 22px;
  border: 1px solid rgba(184, 106, 120, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.product-categories h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.product-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.product-category-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(55, 127, 129, 0.09);
  color: #377f81;
  font-size: 13px;
  text-decoration: none;
}

.product-category-list a:hover {
  background: #377f81;
  color: #fff;
}

.product-category-list small {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  text-align: center;
}

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

.product-card,
.product-detail-top,
.product-description,
.product-contact {
  border: 1px solid rgba(184, 106, 120, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(89, 60, 67, 0.08);
}

.product-card {
  overflow: hidden;
}

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

.product-card-image img,
.product-main-image,
.product-extra-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-image img {
  transition: transform 0.35s ease;
}

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

.product-card-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: #a46470;
}

.product-status {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #377f81;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.product-card-image .product-status {
  position: absolute;
  top: 14px;
  left: 14px;
}

.product-status-sold_out {
  background: #8a8586;
}

.product-card-body {
  padding: 18px;
}

.product-card-body h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.product-card-body p {
  margin: 0 0 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-footer strong,
.product-price strong {
  color: #a24f62;
  font-size: 21px;
}

.product-empty {
  padding: 48px 20px;
  text-align: center;
}

.product-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: start;
  gap: 42px;
  padding: 34px;
}

.product-eyebrow,
.product-contact-kicker {
  margin: 0 0 16px;
  color: #a24f62;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.product-image-stage {
  overflow: hidden;
  border-radius: 14px;
  background: #f7eef0;
}

.product-image-stage > a {
  display: block;
}

.product-main-image {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}

.product-extra-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-extra-images img {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  cursor: zoom-in;
}

.product-summary {
  position: sticky;
  top: 24px;
}

.product-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-summary-meta > a {
  color: #857176;
  font-size: 13px;
  font-weight: 700;
}

.product-summary h1 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

.product-lead {
  color: #735d62;
  font-size: 17px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.product-tags a {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(55, 127, 129, 0.1);
  color: #377f81;
  font-size: 12px;
  text-decoration: none;
}

.product-tags a:hover {
  background: #377f81;
  color: #fff;
}

.product-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(184, 106, 120, 0.16);
}

.product-buy-card {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(55, 127, 129, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 239, 241, 0.9), rgba(238, 248, 247, 0.9));
}

.product-primary-action,
.product-secondary-action {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 9px;
  font-weight: 700;
}

.product-primary-action {
  margin-top: 18px;
  background: #377f81;
  color: #fff !important;
}

.product-secondary-action {
  margin-top: 10px;
  border: 1px solid rgba(55, 127, 129, 0.55);
  color: #377f81 !important;
}

.product-action-note {
  margin: 12px 0 0;
  color: #78666b;
  font-size: 13px;
  text-align: center;
}

.product-specs {
  margin: 0;
}

.product-specs > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(184, 106, 120, 0.13);
}

.product-specs dt {
  color: #806b70;
  font-size: 14px;
}

.product-specs dd {
  margin: 0;
  color: #4f4245;
  font-size: 14px;
  line-height: 1.6;
}

.product-assurances {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.product-assurances li {
  color: #6f5c61;
  font-size: 13px;
}

.product-assurances li::before {
  content: "+";
  margin-right: 8px;
  color: #377f81;
}

.product-tags-block {
  margin-top: 20px;
}

.product-tags-block > p {
  margin: 0 0 9px;
  color: #806b70;
  font-size: 14px;
}

.product-description {
  margin-top: 24px;
  max-width: 780px;
  padding: 34px;
}

.product-description > h2 {
  margin: 38px 0 18px;
  color: #3f3438;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.product-description > h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a66, rgba(255, 90, 102, 0.12));
}

.product-description > p {
  line-height: 1.9;
}

.product-description > ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.product-detail-gallery {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(184, 106, 120, 0.16);
}

.product-detail-gallery h2 {
  margin: 0 0 22px;
  font-size: 22px;
}

.product-description .product-detail-gallery h2::before,
.product-description .product-detail-gallery h2::after {
  content: none;
}

.product-detail-gallery > p {
  margin: 0 0 22px;
  color: #806b70;
  font-size: 14px;
}

.product-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-detail-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #f7eef0;
}

.product-detail-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-detail-gallery-grid a:hover img {
  transform: scale(1.035);
}

.product-contact {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(250, 238, 241, 0.96), rgba(236, 247, 246, 0.96));
}

.product-contact h2 {
  margin: 8px 0;
}

.product-wechat-id {
  font-size: 18px;
}

.product-email-hint {
  color: #806b70;
}

.product-email-button {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #377f81;
  color: #fff !important;
  font-weight: 700;
}

.product-wechat-qr {
  width: 190px;
  border-radius: 12px;
}

.product-search {
  position: relative;
  display: block;
  margin: 0 auto 28px;
  padding: 22px;
  border: 1px solid rgba(55, 127, 129, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(248, 239, 241, 0.88), rgba(238, 248, 247, 0.88));
}

.product-search > div > p {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.product-search > div > span {
  color: #806b70;
  font-size: 14px;
}

.product-search-input-wrap {
  display: grid;
  gap: 7px;
  color: #806b70;
  font-size: 13px;
}

.product-search-input-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(55, 127, 129, 0.35);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  font: inherit;
}

.product-search-results {
  max-height: 440px;
  overflow: auto;
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.product-search-result-count {
  margin: 0 0 10px;
  color: #806b70;
  font-size: 14px;
}

.product-search-result-list {
  display: grid;
  gap: 8px;
}

.product-search-result-list a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: rgba(55, 127, 129, 0.07);
  color: inherit;
  text-decoration: none;
}

.product-search-result-list a:hover {
  background: rgba(55, 127, 129, 0.16);
}

.product-search-result-list img {
  width: 58px;
  height: 58px;
  border-radius: 7px;
  object-fit: cover;
}

.product-search-result-list strong,
.product-search-result-list span {
  display: block;
}

.product-search-result-list span {
  flex: 0 0 auto;
  color: #a24f62;
}

.product-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 34px auto 36px;
  overflow: hidden;
  border: 1px solid rgba(55, 127, 129, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 16px rgba(52, 65, 67, 0.09);
}

.product-pagination a,
.product-pagination span {
  display: grid;
  min-width: 44px;
  min-height: 48px;
  padding: 0 14px;
  border-right: 1px solid rgba(55, 127, 129, 0.18);
  color: #377f81;
  font-size: 14px;
  line-height: 1;
  place-items: center;
  text-align: center;
  text-decoration: none;
}

.product-pagination > :last-child {
  border-right: 0;
}

.product-pagination a:hover {
  background: rgba(55, 127, 129, 0.12);
}

.product-pagination .product-page-number.current {
  background: #377f81;
  color: #fff;
  font-weight: 700;
}

.product-pagination .disabled {
  color: #aaa;
  background: rgba(125, 125, 125, 0.06);
  cursor: not-allowed;
}

.product-pagination .product-page-ellipsis {
  min-width: 32px;
  color: #806b70;
}

.product-pagination .product-page-action {
  font-weight: 700;
}

.product-quick-nav {
  position: absolute;
  z-index: 1001;
  top: 100%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 7px max(16px, calc((100vw - 1080px) / 2));
  border-top: 1px solid rgba(55, 127, 129, 0.16);
  border-bottom: 1px solid rgba(55, 127, 129, 0.2);
  background: rgba(250, 253, 252, 0.96);
  box-shadow: 0 5px 13px rgba(52, 65, 67, 0.09);
  backdrop-filter: blur(12px);
}

.product-quick-nav-home,
.product-quick-nav-categories summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  color: #377f81;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.product-quick-nav-home:hover,
.product-quick-nav-categories summary:hover {
  background: rgba(55, 127, 129, 0.12);
}

.product-quick-nav-categories {
  position: relative;
}

.product-quick-nav-categories summary {
  list-style: none;
  cursor: pointer;
}

.product-quick-nav-categories summary::-webkit-details-marker {
  display: none;
}

.product-quick-nav-categories summary::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 15px;
}

.product-quick-nav-category-list {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 7px;
  width: min(680px, calc(100vw - 32px));
  max-height: min(520px, 65vh);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(55, 127, 129, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(52, 65, 67, 0.2);
}

.product-quick-nav-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #377f81;
  font-size: 13px;
  text-decoration: none;
}

.product-quick-nav-category-list a:hover {
  background: rgba(55, 127, 129, 0.12);
}

.product-quick-nav-category-list small {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(55, 127, 129, 0.12);
  font-size: 11px;
}

.product-quick-search {
  flex: 0 1 520px;
}

.product-quick-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.product-quick-search input {
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(55, 127, 129, 0.35);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: inherit;
  font: inherit;
}

.product-search-results-inline {
  max-width: 920px;
  margin: 0 auto 28px;
  border: 1px solid rgba(55, 127, 129, 0.18);
  box-shadow: 0 10px 24px rgba(52, 65, 67, 0.08);
}

.product-category-page > h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 4vw, 36px);
}

.product-category-page-back {
  margin: 0 0 10px;
}

.product-category-page-back a {
  color: #377f81;
  font-weight: 700;
  text-decoration: none;
}


[data-theme="dark"] .product-card,
[data-theme="dark"] .product-detail-top,
[data-theme="dark"] .product-description,
[data-theme="dark"] .product-contact {
  border-color: rgba(184, 106, 120, 0.28);
  background: rgba(42, 36, 43, 0.94);
}

[data-theme="dark"] .product-contact {
  background: linear-gradient(135deg, rgba(67, 44, 50, 0.96), rgba(35, 54, 55, 0.96));
}

[data-theme="dark"] .product-buy-card {
  border-color: rgba(104, 169, 169, 0.28);
  background: linear-gradient(135deg, rgba(67, 44, 50, 0.75), rgba(35, 54, 55, 0.75));
}

[data-theme="dark"] .product-specs dd,
[data-theme="dark"] .product-assurances li,
[data-theme="dark"] .product-action-note {
  color: #e7d9dc;
}

@media screen and (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 680px) {
  .product-grid,
  .product-detail-top,
  .product-contact {
    grid-template-columns: 1fr;
  }

  .product-detail-top,
  .product-description,
  .product-contact {
    padding: 18px;
  }

  .product-wechat-qr {
    width: min(220px, 100%);
    margin: 0 auto;
  }

  .product-detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-search {
    padding: 18px;
  }

  .product-search-results {
    max-height: 380px;
  }

  .product-pagination {
    width: 100%;
    border-radius: 10px;
  }

  .product-pagination a,
  .product-pagination span {
    min-width: 0;
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 8px;
    font-size: 13px;
  }

  .product-pagination .product-page-number,
  .product-pagination .product-page-ellipsis {
    flex: 0 1 38px;
  }

  .product-quick-nav {
    flex-wrap: wrap;
    gap: 5px;
    padding: 6px 10px;
    justify-content: flex-start;
  }

  .product-quick-nav-home,
  .product-quick-nav-categories summary {
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }

  .product-quick-search {
    flex-basis: 100%;
  }

  .product-quick-search input {
    min-height: 32px;
    font-size: 13px;
  }

  .product-quick-nav-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: -4px;
    width: min(460px, calc(100vw - 20px));
  }
}

.home-feature-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.home-feature-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 700;
}

.home-feature-heading p {
  margin: 0;
  color: var(--color-default, #666);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: right;
}

.home-conversion-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(176, 92, 105, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 251, 0.88);
  box-shadow: 0 12px 26px rgba(120, 80, 90, 0.08);
  box-sizing: border-box;
}

.home-conversion-copy {
  min-width: 0;
}

.home-conversion-hero h2 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #7d4652;
  font-size: 1.78rem;
  line-height: 1.34;
}

.home-conversion-copy > p:not(.joya-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--color-grey);
  font-size: 1rem;
  line-height: 1.85;
}

.home-conversion-portrait {
  position: relative;
  overflow: hidden;
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  margin: 0;
  border-radius: 8px;
  background: rgba(176, 92, 105, 0.08);
  box-shadow: 0 14px 34px rgba(88, 52, 60, 0.16);
}

.home-conversion-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-conversion-actions a,
.joya-contact-actions a,
.joya-contact-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(176, 92, 105, 0.22);
  border-radius: 8px;
  background: rgba(176, 92, 105, 0.08);
  color: #8b4f5a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-sizing: border-box;
  cursor: pointer;
}

.home-conversion-actions a.primary,
.joya-contact-actions button {
  border-color: #a45262;
  background: #a45262;
  color: #fff;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-feature-card {
  position: relative;
  display: flex;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #242424;
  box-shadow: 0 12px 28px rgba(42, 36, 38, 0.16);
  text-decoration: none;
  isolation: isolate;
}

.home-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
  z-index: -2;
}

.home-feature-card-archives img {
  object-position: top center;
}

.home-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 18, 0.02) 0%, rgba(40, 31, 34, 0.42) 52%, rgba(30, 23, 25, 0.82) 100%);
  z-index: -1;
}

.home-feature-card-courses .home-feature-shade {
  background: linear-gradient(180deg, rgba(13, 33, 33, 0.04) 0%, rgba(21, 84, 76, 0.50) 58%, rgba(20, 37, 34, 0.84) 100%);
}

.home-feature-card-booking .home-feature-shade {
  background: linear-gradient(180deg, rgba(54, 27, 20, 0.04) 0%, rgba(127, 71, 45, 0.52) 58%, rgba(44, 30, 25, 0.84) 100%);
}

.home-feature-card-archives .home-feature-shade {
  background: linear-gradient(180deg, rgba(24, 24, 38, 0.04) 0%, rgba(55, 61, 98, 0.52) 58%, rgba(26, 27, 39, 0.84) 100%);
}

.home-feature-copy {
  align-self: end;
  width: 100%;
  padding: 18px;
  box-sizing: border-box;
}

.home-feature-copy strong,
.home-feature-copy em {
  display: block;
  color: inherit;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.home-feature-copy strong {
  margin-bottom: 7px;
  font-size: 1.28rem;
  line-height: 1.25;
  font-style: normal;
}

.home-feature-copy em {
  font-size: 0.92rem;
  line-height: 1.5;
  font-style: normal;
  opacity: 0.92;
}

.home-feature-card:hover img,
.home-shop-item:hover img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.home-shop-section {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(120, 80, 90, 0.08);
  box-sizing: border-box;
}

[data-theme="dark"] .home-shop-section {
  background: rgba(39, 43, 48, 0.72);
}

[data-theme="dark"] .home-conversion-hero,
[data-theme="dark"] .home-trust-section,
[data-theme="dark"] .home-seo-paths,
[data-theme="dark"] .joya-contact-cta {
  border-color: rgba(240, 180, 189, 0.2);
  background: rgba(49, 42, 47, 0.88);
}

[data-theme="dark"] .home-conversion-hero h2,
[data-theme="dark"] .home-trust-card strong,
[data-theme="dark"] .home-seo-paths strong,
[data-theme="dark"] .joya-contact-cta h3 {
  color: #ffd2d9;
}

[data-theme="dark"] .home-conversion-portrait {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .home-trust-card {
  background: rgba(255, 255, 255, 0.05);
}

.home-trust-section {
  padding: 24px;
  border: 1px solid rgba(55, 127, 129, 0.16);
  border-radius: 8px;
  background: rgba(247, 253, 252, 0.82);
  box-sizing: border-box;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-trust-card {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.home-trust-card strong {
  display: block;
  margin-bottom: 8px;
  color: #377f81;
  font-size: 1rem;
}

.home-trust-card span {
  color: var(--color-grey);
  line-height: 1.7;
}

.home-seo-paths {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(176, 92, 105, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-sizing: border-box;
}

.home-seo-paths strong {
  color: #8b4f5a;
}

.home-seo-paths div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-seo-paths a {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(176, 92, 105, 0.08);
  color: #8b4f5a;
  font-size: 0.88rem;
  text-decoration: none;
}

.home-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-shop-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--color-wrap, #fff);
  box-shadow: 0 8px 18px rgba(42, 36, 38, 0.12);
  aspect-ratio: 1 / 1;
}

.home-shop-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.home-shop-item figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  color: #7b4b54;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 5px 14px rgba(42, 36, 38, 0.12);
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .home-feature-section,
  .home-conversion-hero,
  .home-trust-section,
  .home-seo-paths,
  .home-shop-section {
    margin-bottom: 24px;
  }

  .home-conversion-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .home-conversion-hero h2 {
    font-size: 1.35rem;
  }

  .home-conversion-portrait {
    width: min(100%, 260px);
    justify-self: start;
    order: -1;
  }

  .home-feature-heading {
    display: block;
  }

  .home-feature-heading h2 {
    font-size: 1.28rem;
  }

  .home-feature-heading p {
    margin-top: 4px;
    text-align: left;
    font-size: 0.9rem;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card {
    min-height: 176px;
  }

  .home-feature-copy {
    padding: 18px;
  }

  .home-feature-copy strong {
    font-size: 1.2rem;
  }

  .home-shop-section {
    padding: 12px;
  }

  .home-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .home-shop-item figcaption {
    left: 5px;
    right: 5px;
    bottom: 5px;
    min-height: 22px;
    padding: 4px 5px;
    font-size: 10px;
  }
}
/* Joya taxonomy distinction */
.category-list {
  display: grid;
  gap: 8px;
  padding-left: 0;
}

.category-list-item {
  list-style: none;
}

.category-list-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(190, 72, 86, 0.2);
  border-left: 4px solid #c84958;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 245, 247, 0.96), rgba(255, 255, 255, 0.78));
  color: #8b2f3d !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(190, 72, 86, 0.08);
}

.category-list-link::before,
.article-category-list .article-tag-list-link::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #c84958;
  box-shadow: 0 0 0 3px rgba(200, 73, 88, 0.14);
}

.category-list-link:hover {
  color: #6f2230 !important;
  transform: translateX(2px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 0;
}

.tag-item {
  list-style: none;
  margin: 0 !important;
}

.tag-link,
.tagcloud a,
.article-tag-list .article-tag-list-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(42, 126, 129, 0.24);
  border-radius: 999px;
  background: rgba(236, 249, 248, 0.9);
  color: #27696d !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.tag-link::before,
.tagcloud a::before,
.article-tag-list .article-tag-list-link::before {
  content: "#";
  color: #2d8b8c;
  font-size: 0.9em;
  font-weight: 900;
}

.tag-link:hover,
.tagcloud a:hover,
.article-tag-list .article-tag-list-link:hover {
  background: rgba(221, 245, 242, 1);
  border-color: rgba(42, 126, 129, 0.42);
  color: #1d5558 !important;
}

.article-category-list,
.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-left: 0;
}

.article-category-list .article-tag-list-item,
.article-tag-list .article-tag-list-item {
  list-style: none;
  margin: 0 !important;
}

.article-category-list .article-tag-list-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(190, 72, 86, 0.2);
  border-left: 4px solid #c84958;
  border-radius: 8px;
  background: rgba(255, 245, 247, 0.96);
  color: #8b2f3d !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .category-list-link {
    font-size: 13.5px;
  }

  .tag-link,
  .tagcloud a,
  .article-tag-list .article-tag-list-link {
    font-size: 11.5px !important;
  }
}
/* Joya article footer tags compact */
.article-footer .article-category-list,
.article-footer .article-tag-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-left: 0;
}

.article-footer .article-tag-list-item {
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.article-footer .article-category-link,
.article-footer .article-tag-list-link {
  margin-top: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.article-footer .article-category-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px !important;
  border: 1px solid rgba(176, 92, 105, 0.22);
  border-left: 3px solid rgba(176, 92, 105, 0.78);
  border-radius: 7px;
  background: rgba(255, 248, 249, 0.9) !important;
  color: #8b4f5a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.article-footer .article-category-link::before {
  content: "" !important;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 0 !important;
  border-radius: 2px;
  background: rgba(176, 92, 105, 0.78);
}

.article-footer .article-tag-list-link {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  padding: 2px 7px !important;
  border: 1px solid rgba(156, 126, 132, 0.24);
  border-radius: 999px;
  background: rgba(250, 246, 247, 0.92) !important;
  color: #725a60 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

.article-footer .article-tag-list-link::before {
  content: "#" !important;
  margin-right: 0 !important;
  color: #a16c76 !important;
  font-size: 0.9em !important;
  font-weight: 800 !important;
}

.article-footer .article-category-link:hover,
.article-footer .article-tag-list-link:hover {
  border-color: rgba(176, 92, 105, 0.42);
  background: rgba(255, 242, 245, 0.96) !important;
  color: #6f414a !important;
}

@media screen and (max-width: 768px) {
  .article-footer .article-category-link {
    font-size: 11.5px !important;
  }

  .article-footer .article-tag-list-link {
    font-size: 10.5px !important;
  }
}
.footer-contact-note {
  margin-bottom: 6px;
  color: #8b4f5a;
  font-size: 0.95em;
  font-weight: 700;
}
/* Joya archives taxonomy chips */
.tag-wrap,
.category-wrap {
  gap: 7px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.tag-wrap .archives-tag-list-item,
.category-wrap .archives-category-list-item {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.tag-wrap .archives-tag-list-link,
.category-wrap .archives-category-list-link {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.tag-wrap .archives-tag-list-link {
  min-height: 24px;
  padding: 3px 8px !important;
  border: 1px solid rgba(156, 126, 132, 0.24);
  border-radius: 999px;
  background: rgba(250, 246, 247, 0.92) !important;
  color: #725a60 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

.tag-wrap .archives-tag-list-link::before {
  content: "#" !important;
  margin-right: 4px !important;
  color: #a16c76 !important;
  font-size: 0.9em !important;
  font-weight: 800 !important;
}

.category-wrap .archives-category-list-link {
  min-height: 28px;
  padding: 4px 10px !important;
  border: 1px solid rgba(176, 92, 105, 0.22);
  border-left: 4px solid rgba(176, 92, 105, 0.78);
  border-radius: 8px;
  background: rgba(255, 248, 249, 0.9) !important;
  color: #8b4f5a !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

.category-wrap .archives-category-list-link::before {
  content: "" !important;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 7px !important;
  border-radius: 2px;
  background: rgba(176, 92, 105, 0.78);
}

.tag-wrap .archives-tag-list-link:hover,
.category-wrap .archives-category-list-link:hover {
  border-color: rgba(176, 92, 105, 0.42);
  background: rgba(255, 242, 245, 0.96) !important;
  color: #6f414a !important;
}
/* Joya article sidebar widget layout */
#content #sidebar .sidebar-wrapper-container.sticky {
  position: static !important;
  top: auto !important;
  max-height: none !important;
  gap: 18px;
}

#content #sidebar .sidebar-wrapper {
  flex: 0 1 auto;
  min-height: auto;
}

#content #sidebar .sidebar-wrap {
  flex: 0 1 auto;
  justify-content: flex-start;
}

#content #sidebar .sidebar-widget {
  width: 100%;
  flex: 0 0 auto;
}

#content #sidebar .sidebar-widget .widget-wrap {
  margin-top: 0;
}

#content #sidebar .sidebar-widget .widget-wrapper + .widget-wrapper {
  margin-top: 16px;
}
/* Joya sidebar WeChat QR */
.sidebar-wechat-card {
  width: min(72%, 190px);
  margin: 12px auto 4px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(176, 92, 105, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 249, 0.72);
  box-shadow: 0 6px 18px rgba(120, 80, 90, 0.08);
  text-align: center;
  box-sizing: border-box;
}

.sidebar-wechat-qr {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

.sidebar-wechat-title {
  margin-top: 8px;
  color: #8b4f5a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.sidebar-wechat-id {
  margin-top: 3px;
  color: #725a60;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  word-break: break-all;
}

@media screen and (max-width: 959px) {
  .sidebar-wechat-card {
    width: min(66%, 180px);
  }
}
/* Joya sidebar WeChat QR size override */
.sidebar-wechat-card {
  width: 118px !important;
  max-width: 46% !important;
  margin: 10px auto 2px !important;
  padding: 6px !important;
}

.sidebar-wechat-title,
.sidebar-wechat-id {
  display: none !important;
}

@media screen and (max-width: 959px) {
  .sidebar-wechat-card {
    width: 112px !important;
    max-width: 44% !important;
  }
}
/* Joya mobile nav starts at avatar */
@media screen and (max-width: 959px) {
  #mobile-nav {
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: border-box;
    overflow-y: auto;
  }

  #mobile-nav .sidebar-wrap {
    min-height: 100%;
    max-height: none !important;
    height: auto !important;
    justify-content: flex-start !important;
    padding-top: 18px;
    padding-bottom: 28px;
    box-sizing: border-box;
    overflow: visible;
  }

  #mobile-nav .sidebar-author {
    flex-shrink: 0;
    margin-top: 0;
  }

  #mobile-nav .sidebar-author img {
    margin-top: 0 !important;
    margin-bottom: 12px;
  }
}

/* Joya support and toolbox pages */
.joya-kicker {
  margin: 0 0 8px !important;
  color: #a45262;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.joya-support-hero,
.ai-toolbox-hero {
  margin: 10px 0 24px;
  padding: 22px;
  border: 1px solid rgba(176, 92, 105, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 248, 249, 0.98), rgba(255, 243, 245, 0.96));
  box-shadow: 0 10px 24px rgba(120, 80, 90, 0.09);
  box-sizing: border-box;
}

.joya-support-hero h2,
.ai-toolbox-hero h2,
.ai-flow h2 {
  margin: 0 0 12px !important;
  font-size: 1.45rem;
  line-height: 1.35;
}

.joya-support-hero h2,
.ai-toolbox-hero h2 {
  margin-bottom: 42px !important;
}

.joya-support-hero h2::before,
.ai-toolbox-hero h2::before {
  bottom: -18px !important;
}

.joya-support-hero h2::after,
.ai-toolbox-hero h2::after {
  bottom: -21px !important;
}

.joya-support-hero p,
.ai-toolbox-hero p {
  margin: 0 !important;
}

.ai-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 26px;
}

.ai-tool-card {
  display: block;
  padding: 16px;
  border: 1px solid rgba(176, 92, 105, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 249, 0.92));
  color: var(--color-default);
  box-shadow: 0 8px 18px rgba(120, 80, 90, 0.07);
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-tool-card:hover {
  border-color: rgba(176, 92, 105, 0.38);
  box-shadow: 0 12px 24px rgba(120, 80, 90, 0.13);
  transform: translateY(-2px);
}

.article-entry a.ai-tool-card::after,
.article-entry a.ai-tool-action::after {
  content: none !important;
}

.ai-tool-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #8b4f5a;
  font-size: 1rem;
}

.ai-tool-grid p {
  margin: 0 !important;
}

.ai-tool-more {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 12px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(176, 92, 105, 0.1);
  color: #8b4f5a;
  font-size: 0.86rem;
  font-weight: 800;
}

.joya-contact-cta {
  margin: 28px 0 8px;
  padding: 18px;
  border: 1px solid rgba(176, 92, 105, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 248, 249, 0.98), rgba(255, 255, 255, 0.9));
  box-shadow: 0 8px 20px rgba(120, 80, 90, 0.07);
  box-sizing: border-box;
}

.joya-contact-cta h3 {
  margin: 0 0 8px !important;
  color: #8b4f5a;
  font-size: 1.15rem;
}

.joya-contact-cta p {
  margin: 0 !important;
}

.joya-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ai-money-generator {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin: 10px 0 24px;
  align-items: start;
}

.ai-money-generator-intro {
  position: sticky;
  top: 74px;
  padding: 22px;
  border: 1px solid rgba(176, 92, 105, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 248, 249, 0.98), rgba(250, 246, 247, 0.92));
  box-shadow: 0 10px 24px rgba(120, 80, 90, 0.08);
  box-sizing: border-box;
}

.ai-money-generator-intro h2 {
  margin: 0 0 38px !important;
  font-size: 1.42rem;
  line-height: 1.35;
}

.ai-money-generator-intro h2::before {
  bottom: -16px !important;
}

.ai-money-generator-intro h2::after {
  bottom: -19px !important;
}

.ai-money-generator-intro p {
  margin: 0 !important;
}

.ai-money-mini-steps,
.ai-money-generator-price {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.ai-money-mini-steps span,
.ai-money-generator-price span {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 0.88rem;
  line-height: 1.3;
}

.ai-money-mini-steps span {
  border: 1px solid rgba(176, 92, 105, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: #725a60;
  font-weight: 700;
}

.ai-money-generator-price span {
  background: rgba(164, 82, 98, 0.1);
  color: #8b4f5a;
  font-weight: 850;
}

.ai-money-contact-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(42, 126, 129, 0.16);
  border-radius: 8px;
  background: rgba(236, 249, 248, 0.72);
}

.ai-money-wechat-box {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.ai-money-wechat-box button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  background: #2d8b8c;
  color: #fff;
  font-weight: 850;
}

.ai-money-form-step {
  margin: 0 !important;
  color: #a45262;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ai-flow ol {
  padding-left: 1.3em;
}

.ai-tool-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: 8px;
  background: #a45262;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.ai-tool-action-disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}

[data-theme="dark"] .joya-kicker {
  color: #f0b4bd;
}

[data-theme="dark"] #i18n-nav {
  border-color: rgba(240, 180, 189, 0.16);
  background: rgba(32, 30, 36, 0.78);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] #i18n-nav .i18n-link,
[data-theme="dark"] #i18n-nav .i18n-select,
[data-theme="dark"] .i18n-select-label {
  color: #ffd2d9;
}

[data-theme="dark"] #i18n-nav .i18n-link.active {
  background: #b86a78;
  color: #fff;
}

[data-theme="dark"] .joya-coffee-nav,
[data-theme="dark"] .article-footer .sponsor-button {
  border-color: rgba(240, 180, 189, 0.16);
  background: rgba(49, 42, 47, 0.88);
  color: #ffd2d9;
}

@media screen and (max-width: 479px) {
  [data-theme="dark"] .joya-coffee-nav {
    border-color: transparent;
    background: transparent;
    color: #ffd2d9;
  }
}

[data-theme="dark"] .joya-support-hero,
[data-theme="dark"] .ai-toolbox-hero,
[data-theme="dark"] .ai-money-generator-intro {
  border-color: rgba(240, 180, 189, 0.2);
  background: linear-gradient(135deg, rgba(49, 42, 47, 0.96), rgba(38, 39, 45, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .ai-tool-card {
  border-color: rgba(240, 180, 189, 0.16);
  background: linear-gradient(180deg, rgba(49, 42, 47, 0.9), rgba(38, 39, 45, 0.94));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .ai-tool-card:hover {
  border-color: rgba(240, 180, 189, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .ai-tool-grid strong {
  color: #f0b4bd;
}

[data-theme="dark"] .ai-tool-more {
  background: rgba(240, 180, 189, 0.12);
  color: #f0b4bd;
}

[data-theme="dark"] .ai-tool-action {
  background: #b86a78;
}

@media screen and (max-width: 768px) {
  .ai-tool-grid,
  .ai-money-generator {
    grid-template-columns: 1fr;
  }

  .joya-support-hero,
  .ai-toolbox-hero {
    padding: 16px;
  }

  .ai-money-generator-intro {
    position: static;
    padding: 16px;
  }
}

.ai-money-hero .ai-money-lead {
  margin-bottom: 8px !important;
  color: #8b4f5a;
  font-size: 1.08rem;
  font-weight: 800;
}

.ai-money-price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ai-money-price span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(176, 92, 105, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #725a60;
  font-size: 0.92rem;
  font-weight: 700;
  box-sizing: border-box;
}

.ai-money-price strong {
  color: #a45262;
  font-size: 1.18rem;
}

.ai-money-section {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(176, 92, 105, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(120, 80, 90, 0.06);
  box-sizing: border-box;
}

.ai-money-section h3 {
  margin: 0 0 12px !important;
  color: #8b4f5a;
  font-size: 1.18rem;
  line-height: 1.35;
}

.ai-money-section p {
  margin: 0 0 10px !important;
}

.ai-money-chip-list,
.ai-money-action-grid,
.ai-money-flow,
.ai-money-report-grid {
  display: grid;
  gap: 10px;
}

.ai-money-chip-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.ai-money-chip-list span,
.ai-money-action-grid span,
.ai-money-flow span,
.ai-money-report-grid span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(176, 92, 105, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 249, 0.82);
  color: #725a60;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  box-sizing: border-box;
}

.ai-money-report-grid,
.ai-money-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-money-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px;
}

.ai-money-two-col ol {
  margin-bottom: 0;
  padding-left: 1.3em;
}

.ai-money-two-col li + li {
  margin-top: 6px;
}

.ai-money-note {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 248, 249, 0.86);
  box-sizing: border-box;
}

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

.ai-money-flow span {
  justify-content: center;
  text-align: center;
}

.ai-money-disclaimer {
  border-color: rgba(42, 126, 129, 0.2);
  background: rgba(236, 249, 248, 0.72);
}

.ai-money-disclaimer h3 {
  color: #27696d;
}

.ai-money-result pre {
  overflow: auto;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(176, 92, 105, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 249, 0.82);
  color: var(--color-default);
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
  box-sizing: border-box;
}

.ai-money-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ai-money-result-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #a45262;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

[data-theme="dark"] .ai-money-hero .ai-money-lead,
[data-theme="dark"] .ai-money-section h3 {
  color: #f0b4bd;
}

[data-theme="dark"] .ai-money-price span,
[data-theme="dark"] .ai-money-section {
  border-color: rgba(240, 180, 189, 0.16);
  background: rgba(49, 42, 47, 0.74);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .ai-money-price strong {
  color: #f0b4bd;
}

[data-theme="dark"] .ai-money-chip-list span,
[data-theme="dark"] .ai-money-action-grid span,
[data-theme="dark"] .ai-money-flow span,
[data-theme="dark"] .ai-money-report-grid span,
[data-theme="dark"] .ai-money-note,
[data-theme="dark"] .ai-money-result pre {
  border-color: rgba(240, 180, 189, 0.14);
  background: rgba(38, 39, 45, 0.72);
  color: var(--color-default);
}

[data-theme="dark"] .ai-money-mini-steps span,
[data-theme="dark"] .ai-money-generator-price span {
  background: rgba(38, 39, 45, 0.72);
  color: #f0b4bd;
}

[data-theme="dark"] .ai-money-form-step {
  color: #ffd2d9;
}

[data-theme="dark"] .ai-money-contact-panel {
  border-color: rgba(104, 169, 169, 0.22);
  background: rgba(35, 54, 55, 0.56);
}

[data-theme="dark"] .ai-money-wechat-box button {
  background: #377f81;
  color: #fff;
}

[data-theme="dark"] .ai-money-disclaimer {
  border-color: rgba(84, 170, 168, 0.2);
  background: rgba(35, 54, 55, 0.7);
}

[data-theme="dark"] .ai-money-disclaimer h3 {
  color: #9ad6d2;
}

@media screen and (max-width: 768px) {
  .ai-money-section {
    padding: 16px;
  }

  .ai-money-chip-list,
  .ai-money-report-grid,
  .ai-money-action-grid,
  .ai-money-two-col,
  .ai-money-flow {
    grid-template-columns: 1fr;
  }

}
