/* JinhongBloom mobile smart header: hide on downward scroll, reveal on upward scroll. */
@media (max-width: 782px) {
  #masthead.jb-smart-header-ready {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000;
    transform: translate3d(0, 0, 0);
    transition: transform 240ms cubic-bezier(.2, .7, .25, 1);
    will-change: transform;
  }

  body.admin-bar #masthead.jb-smart-header-ready {
    top: 46px !important;
  }

  #masthead.jb-smart-header-hidden {
    transform: translate3d(0, calc(-100% - 2px), 0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #masthead.jb-smart-header-ready {
    transition: none !important;
  }
}

.jb-wechat-copy {
  appearance: none;
  border: 1px solid rgba(86, 55, 78, .34);
  border-radius: 2px;
  background: transparent;
  color: #56374e;
  cursor: pointer;
  font: inherit;
  font-size: .78em;
  line-height: 1.2;
  margin-inline-start: .65rem;
  padding: .38rem .62rem;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.jb-wechat-copy:hover,
.jb-wechat-copy:focus-visible {
  background: #56374e;
  border-color: #56374e;
  color: #fff;
}

.jb-wechat-copy:focus-visible,
.jb-whatsapp-link:focus-visible {
  outline: 2px solid #8b6b88;
  outline-offset: 3px;
}

.jb-contact-live-status {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .jb-wechat-copy {
    transition: none;
  }
}

body.page-id-41 .kt-accordion-wrap {
  background: transparent !important;
  border: 0 !important;
}

body.page-id-41 .kt-accordion-pane {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(62, 36, 61, .18) !important;
}

body.page-id-41 .kt-blocks-accordion-header {
  background: transparent !important;
  border: 0 !important;
  color: #3e243d !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(18px, 4.6vw, 22px) !important;
  font-weight: 400 !important;
  letter-spacing: .005em;
  line-height: 1.35 !important;
  padding: 18px 10px !important;
  text-align: left;
  text-transform: none !important;
}

body.page-id-41 .kt-blocks-accordion-header:focus-visible {
  outline: 2px solid #8b6b88;
  outline-offset: -2px;
}

body.page-id-41 .kt-blocks-accordion-title {
  color: inherit;
}

body.page-id-41 .kt-blocks-accordion-icon-trigger {
  color: #7a5c76 !important;
}

body.page-id-41 .kt-accordion-panel-inner {
  color: #4e474d;
  font-size: 16px;
  line-height: 1.75;
  max-width: 68ch;
  padding: 0 12px 22px !important;
}

/* About page: an editorial brand story based on verified catalog information. */
body.page-id-40 .jb-page-hero { display: none !important; }
body.page-id-40 .entry-content-wrap { padding-top: 0 !important; }
body.page-id-40 .jb-page-content.entry-content { max-width: none; padding: 0 !important; }
body.page-id-40 .jb-about-v2 {
  --jb-ink: #3d3538; --jb-plum: #56374e; --jb-sage: #687565; --jb-cream: #f6f2eb; --jb-paper: #fbfaf7;
  color: var(--jb-ink); background: var(--jb-paper); overflow: hidden;
}
body.page-id-40 .jb-about-v2 img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-id-40 .jb-about-hero { min-height: min(760px, 76vw); display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(54px, 8vw, 120px) clamp(24px, 8vw, 132px); background: linear-gradient(120deg, #f7f3ed 0%, #eee9df 100%); }
body.page-id-40 .jb-about-copy { max-width: 620px; }
body.page-id-40 .jb-about-eyebrow { color: var(--jb-sage); font-size: 11px; font-weight: 600; letter-spacing: .2em; line-height: 1.5; text-transform: uppercase; }
body.page-id-40 .jb-about-copy h1 { margin: 20px 0; color: var(--jb-plum); font: 400 clamp(40px, 5.3vw, 76px)/1.06 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
body.page-id-40 .jb-about-lede { max-width: 45ch; font: 400 clamp(17px, 1.5vw, 20px)/1.75 Georgia, 'Times New Roman', serif; color: #61585a; }
body.page-id-40 .jb-about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
body.page-id-40 .jb-about-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 0 20px; font-size: 11px; font-weight: 600; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
body.page-id-40 .jb-about-button-primary { color: #fff; background: var(--jb-plum); border: 1px solid var(--jb-plum); }
body.page-id-40 .jb-about-button-primary:hover { color: var(--jb-plum); background: transparent; }
body.page-id-40 .jb-about-text-link { color: var(--jb-plum); font-size: 12px; letter-spacing: .07em; text-decoration-thickness: 1px; text-underline-offset: 5px; }
body.page-id-40 .jb-about-hero-visual { position: relative; aspect-ratio: 4 / 5; max-height: 680px; margin: 0; overflow: hidden; }
body.page-id-40 .jb-about-hero-visual img, body.page-id-40 .jb-about-card img { transition: transform 1.2s cubic-bezier(.2,.65,.2,1); }
body.page-id-40 .jb-about-hero-visual:hover img, body.page-id-40 .jb-about-card:hover img { transform: scale(1.035); }
body.page-id-40 .jb-about-hero-visual figcaption { position: absolute; right: 0; bottom: 0; padding: 14px 18px; color: #fff; background: rgba(45,40,42,.55); font-size: 10px; letter-spacing: .19em; text-transform: uppercase; }
body.page-id-40 .jb-about-intro { max-width: 860px; margin: 0 auto; padding: clamp(78px, 10vw, 146px) 24px 48px; text-align: center; }
body.page-id-40 .jb-about-intro h2, body.page-id-40 .jb-about-order h2, body.page-id-40 .jb-about-close h2 { margin: 12px 0 18px; color: var(--jb-plum); font: 400 clamp(32px, 4vw, 54px)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
body.page-id-40 .jb-about-intro > p:last-child { max-width: 68ch; margin: 0 auto; color: #675f60; font: 400 16px/1.85 Georgia, 'Times New Roman', serif; }
body.page-id-40 .jb-about-collections { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px); padding: 28px clamp(24px, 8vw, 132px) clamp(72px, 9vw, 128px); }
body.page-id-40 .jb-about-card { position: relative; min-width: 0; aspect-ratio: 1.28 / 1; overflow: hidden; color: #fff; background: #e9e3d9; text-decoration: none; }
body.page-id-40 .jb-about-card::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(22,24,20,.56)); content: ''; pointer-events: none; }
body.page-id-40 .jb-about-card img { transition: transform 900ms cubic-bezier(.2,.65,.2,1); }
body.page-id-40 .jb-about-card-label, body.page-id-40 .jb-about-card h3, body.page-id-40 .jb-about-card-arrow { position: absolute; z-index: 1; }
body.page-id-40 .jb-about-card-label { left: 24px; bottom: 74px; font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
body.page-id-40 .jb-about-card h3 { left: 24px; right: 60px; bottom: 20px; margin: 0; color: #fff; font: 400 clamp(24px, 3vw, 38px)/1.15 Georgia, 'Times New Roman', serif; }
body.page-id-40 .jb-about-card-arrow { right: 24px; bottom: 25px; font-size: 22px; }
body.page-id-40 .jb-about-order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; padding: clamp(58px, 8vw, 112px) clamp(24px, 12vw, 190px); background: var(--jb-cream); }
body.page-id-40 .jb-about-order h2 { max-width: 13ch; }
body.page-id-40 .jb-about-order-copy { padding-top: 20px; color: #5e5759; font: 400 17px/1.85 Georgia, 'Times New Roman', serif; }
body.page-id-40 .jb-about-close { display: flex; min-height: 350px; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; color: #fff; background: var(--jb-plum); text-align: center; }
body.page-id-40 .jb-about-close .jb-about-eyebrow, body.page-id-40 .jb-about-close h2 { color: #fff; }
body.page-id-40 .jb-about-close h2 { max-width: 17ch; }
body.page-id-40 .jb-about-button-light { margin-top: 14px; border: 1px solid rgba(255,255,255,.74); color: #fff; }
body.page-id-40 .jb-about-button-light:hover { color: var(--jb-plum); background: #fff; }
body.page-id-40 .jb-about-v2 a:focus-visible { outline: 2px solid #9e7a90; outline-offset: 4px; }
@media (max-width: 782px) {
  body.page-id-40 .jb-about-hero { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding: 44px 22px 34px; }
  body.page-id-40 .jb-about-copy h1 { max-width: 12ch; font-size: clamp(40px, 11vw, 52px); }
  body.page-id-40 .jb-about-lede { font-size: 17px; }
  body.page-id-40 .jb-about-hero-visual { aspect-ratio: 4 / 4.5; }
  body.page-id-40 .jb-about-intro { padding: 68px 24px 26px; }
  body.page-id-40 .jb-about-intro h2 { font-size: 36px; }
  body.page-id-40 .jb-about-collections { grid-template-columns: 1fr; gap: 16px; padding: 20px 20px 64px; }
  body.page-id-40 .jb-about-card { aspect-ratio: 1.05 / 1; }
  body.page-id-40 .jb-about-order { grid-template-columns: 1fr; gap: 12px; padding: 56px 24px; }
  body.page-id-40 .jb-about-order-copy { padding-top: 0; font-size: 16px; }
  body.page-id-40 .jb-about-close { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-40 .jb-about-v2 *, body.page-id-40 .jb-about-v2 *::before, body.page-id-40 .jb-about-v2 *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Main Shop archive: editorial scene, readable title and direct collection paths. */
body.woocommerce-shop .entry-hero { display: none !important; }
.jb-shop-page .jb-shop-hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); grid-template-rows: auto auto auto auto; align-items: center; column-gap: clamp(28px, 5vw, 76px); min-height: clamp(360px, 42vw, 590px); margin: 0 0 clamp(32px, 5vw, 64px); padding: clamp(32px, 6vw, 92px); background: #f3eee6; }
.jb-shop-page .jb-shop-hero > .jb-eyebrow-dark { grid-column: 1; grid-row: 1; align-self: end; color: #687565; letter-spacing: .2em; }
.jb-shop-page .jb-shop-hero > .woocommerce-products-header__title { grid-column: 1; grid-row: 2; max-width: 10ch; margin: 10px 0 14px; color: #56374e; font: 400 clamp(40px, 5vw, 70px)/1.06 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.jb-shop-page .jb-shop-intro-copy { grid-column: 1; grid-row: 3; max-width: 42ch; margin: 0; color: #61585a; font: 400 16px/1.75 Georgia, 'Times New Roman', serif; }
.jb-shop-page .jb-shop-collection-links { grid-column: 1; grid-row: 4; display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 22px; }
.jb-shop-page .jb-shop-collection-links a { color: #56374e; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-decoration-thickness: 1px; text-underline-offset: 5px; text-transform: uppercase; }
.jb-shop-page .jb-shop-collection-links a:focus-visible { outline: 2px solid #9e7a90; outline-offset: 4px; }
.jb-shop-page .jb-shop-hero .jb-shop-category-scene { grid-column: 2; grid-row: 1 / span 4; width: 100%; max-width: none; aspect-ratio: 4 / 3; margin: 0; background: #e9e3d9; }
.jb-shop-page .jb-shop-hero .jb-shop-category-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jb-shop-page .woocommerce-result-count { color: #6b6264; font-size: 12px; }
.jb-shop-page .woocommerce-ordering select { border: 1px solid rgba(62,36,61,.2); background: #fbfaf7; }
@media (max-width: 760px) {
  body.woocommerce-shop #primary { display: block !important; width: 100% !important; max-width: none !important; }
  body.woocommerce-shop #primary .content-container.site-container { display: block !important; width: 100% !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  body.woocommerce-shop #primary .site-main, body.woocommerce-shop .jb-shop-page { width: 100% !important; max-width: none !important; }
  .jb-shop-page .jb-shop-hero { position: relative; left: 50%; width: 100vw; max-width: none; transform: translateX(-50%); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto; min-height: 0; gap: 0; margin: 0 0 30px; padding: 32px 22px 22px; }
  .jb-shop-page .jb-shop-hero > .jb-eyebrow-dark { grid-column: 1; grid-row: 1; }
  .jb-shop-page .jb-shop-hero > .woocommerce-products-header__title { grid-column: 1; grid-row: 2; max-width: none; margin: 9px 0 12px; font-size: clamp(38px, 10vw, 48px); }
  .jb-shop-page .jb-shop-intro-copy { grid-column: 1; grid-row: 3; font-size: 15px; }
  .jb-shop-page .jb-shop-collection-links { grid-column: 1; grid-row: 4; gap: 12px 14px; margin: 18px 0 22px; }
  .jb-shop-page .jb-shop-collection-links a { font-size: 9px; }
  .jb-shop-page .jb-shop-hero .jb-shop-category-scene { grid-column: 1; grid-row: 5; aspect-ratio: 1.2 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .jb-shop-page .jb-shop-hero *, .jb-shop-page .jb-shop-hero *::before, .jb-shop-page .jb-shop-hero *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Category archives: replace the default grey title band and tighten the path into the scene. */
body.tax-product_cat .entry-hero {
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(30px, 5vw, 68px) 24px !important;
  background: #f3eee6 !important;
}
body.tax-product_cat .entry-hero .entry-header { min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
body.tax-product_cat .entry-hero h1 {
  margin: 0 !important;
  padding: 0 !important;
  color: #56374e !important;
  font: 400 clamp(36px, 5vw, 66px)/1.08 Georgia, 'Times New Roman', serif !important;
  letter-spacing: -.03em;
  background: transparent !important;
  box-shadow: none !important;
}
body.tax-product_cat .entry-hero .entry-header,
body.tax-product_cat .entry-hero .entry-header *,
body.tax-product_cat .entry-hero .entry-header *::before,
body.tax-product_cat .entry-hero .entry-header *::after {
  background: transparent !important;
  box-shadow: none !important;
}
body.tax-product_cat .entry-hero *,
body.tax-product_cat .entry-hero *::before,
body.tax-product_cat .entry-hero *::after,
body.tax-product_cat .entry-hero::before,
body.tax-product_cat .entry-hero::after {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
body.tax-product_cat #primary .content-container.site-container { padding-top: 20px !important; }
body.tax-product_cat #primary .site-main { margin-top: -44px !important; }
@media (max-width: 760px) {
  body.tax-product_cat .entry-hero { padding: 24px 18px !important; }
  body.tax-product_cat .entry-hero h1 { font-size: clamp(32px, 9vw, 42px) !important; }
  body.tax-product_cat #primary .content-container.site-container { padding-top: 8px !important; }
}
