/* Jiqingxiang, October 2026. A refinement of the existing store, not a theme reset.
   Original markup and all backend-managed copy/media remain authoritative. */
:root {
  --bg: #f5f2eb;
  --paper: #fcfaf5;
  --ink: #26352c;
  --muted: #646b60;
  --tea: #755a32;
  --tea-dark: #5f4729;
  --green: #294434;
  --deep: #20372b;
  --line: #d6d6c9;
  --foot: #23332a;
  --serif: Georgia, 'Times New Roman', 'Songti SC', 'Noto Serif CJK SC', 'SimSun', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'Noto Sans Thai', Tahoma, Arial, sans-serif;
  --max: 1440px;
  --header-h: 80px;
  --jqx-ease: cubic-bezier(.22, .61, .36, 1);
  --jqx-gutter: clamp(20px, 4.4vw, 72px);
}
html { scroll-padding-top: 110px; }
body { line-height: 1.75; }
::selection { color: var(--paper); background: var(--green); }
.wrap { width: min(var(--max), calc(100% - var(--jqx-gutter) * 2)); }
h1, h2, h3, h4 { letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 4.2vw, 62px); line-height: 1.12; }
h2 { font-size: clamp(31px, 3.2vw, 46px); line-height: 1.18; }
h3 { line-height: 1.28; }
p { text-wrap: pretty; }
h1:lang(zh), h2:lang(zh), h3:lang(zh) { letter-spacing: .025em; line-height: 1.3; }
h1:lang(th), h2:lang(th), h3:lang(th) { font-family: var(--sans); line-height: 1.35; letter-spacing: 0; }
.section { padding-block: clamp(48px, 5.4vw, 84px); }
.eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: .17em; margin-bottom: 15px; }
:lang(zh) .eyebrow { letter-spacing: .2em; }
.lede { max-width: 64ch; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.85; }
.heading { align-items: end; gap: 28px; margin-bottom: 30px; }
.heading p { max-width: 65ch; font-size: 14px; line-height: 1.7; margin-top: 13px; }
.textlink { min-height: 44px; gap: 15px; font-size: 13px; line-height: 1.6; border-bottom-color: #755a3240; }
.textlink .icon { width: 20px; height: 20px; transition: transform 240ms var(--jqx-ease); }
.textlink:hover .icon, .textlink:focus-visible .icon { transform: translateX(4px); }
button.textlink { background: transparent; border: 0; border-bottom: 1px solid #755a3240; padding: 5px 0; }
.line-end button.textlink { border-bottom-color: transparent; }
.btn { min-height: 48px; border-radius: 2px; padding: 12px 23px; font-size: 13px; font-weight: 600; letter-spacing: .015em; transition: background 180ms, color 180ms, border-color 180ms, box-shadow 180ms; }
.btn:hover { box-shadow: 0 3px 12px #20372b12; }
.btn:active { box-shadow: none; }
.btn.outline { border-color: #755a3280; }
.btn.white { border-color: #f5f2eb9c; }
.btn:disabled { box-shadow: none; }
.icon-btn { width: 44px; min-height: 44px; border-radius: 2px; transition: color 180ms, background 180ms; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.hero :focus-visible, .banner :focus-visible, .help-band :focus-visible, .site-footer :focus-visible { outline-color: #f3e2bc; }
.skip:focus { border: 2px solid var(--green); color: var(--ink); }

/* Compact navigation with deliberate spacing; the content never jumps on scroll. */
.site-header { height: 80px; background: #fcfaf5f7; border-bottom-color: #d6d6c97d; transition: box-shadow 240ms, background 240ms; }
.site-header.has-scrolled { background: #fcfaf5fc; box-shadow: 0 5px 22px #20372b09; }
.header-inner { gap: 24px; }
.brand { width: 122px; }
.brand img { width: 110px; height: 33px; }
.brand small { margin-top: 6px; font-size: 8px; letter-spacing: .25em; }
.desktop-nav { gap: clamp(15px, 1.8vw, 28px); }
.nav-link { font-size: 13px; padding-block: 15px; }
.nav-link::after { content: ''; position: absolute; bottom: 7px; left: 0; right: 0; height: 1px; background: var(--tea); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--jqx-ease); }
.nav-link.active::after, .nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.navgroup .dropdown { min-width: 245px; padding: 14px; border-color: var(--line); box-shadow: 0 14px 36px #20372b14; }
.dropdown a { min-height: 44px; display: flex; align-items: center; padding: 10px 14px; }
.navgroup.is-dismissed .dropdown { display: none !important; }
.header-actions { gap: 2px; }
.header-quote { min-height: 44px; padding: 10px 15px; font-size: 11px; }
.header-actions .locale-select { width: auto; background: transparent; border: 0; padding: 8px 1px; font-size: 12px; max-width: 70px; }
.cart-count { top: 0; right: 1px; min-width: 17px; }

/* Landscape is still the opening image. Its height leaves the tea collection visible. */
.hero { height: auto; min-height: 320px; }
.hero-content { min-height: inherit; }
.hero-copy { max-width: 720px; padding-block: 32px; }
.hero h1 { max-width: 700px; font-size: clamp(40px, 3.6vw, 57px); line-height: 1.08; margin-bottom: 18px; }
.hero p { font-size: 14px; max-width: 620px; line-height: 1.75; margin-bottom: 23px; }
.hero .eyebrow { font-size: 10px; letter-spacing: .18em; margin-bottom: 17px; }
.hero .btn { min-height: 45px; font-size: 12px; padding-inline: 22px; }
.hero .actions { gap: 13px; }
.hero > img { height: 100%; width: 100%; object-position: 50% 57%; }
.hero::after { background: linear-gradient(90deg, #152b22c9 0%, #18291f8a 43%, #18291f18 85%); }
.hero-mark { top: 32px; right: 3.3%; font-size: 17px; line-height: 1.9; color: #f5f2ebb8; }
.info-strip { background: #eae9df; }
.info-strip .wrap { min-height: 54px; }
.info-strip a { min-height: 54px; gap: 11px; font-size: 11px; transition: background 180ms, color 180ms; }
.info-strip a:hover { background: #fcfaf566; color: var(--green); }
.info-strip .icon { width: 18px; height: 18px; }

/* Frame images, not the original files. Explicit height:auto beats WP dimension attributes. */
.home-products { padding: 34px 0 54px; }
.home-products h2 { font-size: clamp(29px, 2.4vw, 36px); }
.home-products .heading { margin-bottom: 26px; }
.home-products .eyebrow { margin-bottom: 8px; }
.home-products .heading p { margin-top: 9px; }
.product-grid { gap: 32px 26px; }
.five-grid { gap: 23px; }
.product-media { border-radius: 2px; background: #e4e4d8; }
.product-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 64%; transition: transform 560ms var(--jqx-ease); }
.product-card .card-body { padding-top: 17px; }
.category-label { font-size: 10px; line-height: 1.6; letter-spacing: .13em; }
.product-card h3, .five-grid .product-card h3 { font-size: clamp(20px, 1.45vw, 24px); font-weight: 400; min-height: 56px; line-height: 1.25; margin: 6px 0 9px; letter-spacing: -.015em; }
.card-origin { min-height: 20px; margin-bottom: 13px; font-size: 12px; line-height: 1.6; }
.product-bottom { padding-top: 13px; gap: 6px 12px; align-items: center; }
.product-bottom .price { font-size: 15px; color: var(--ink); }
.from-label { font-size: 10px; color: var(--muted); }
.product-bottom .textlink { font-size: 11px; min-height: 36px; border-bottom: 0; }
.product-bottom .icon { width: 17px; height: 17px; }
.product-card:hover h3 a { color: var(--tea); }
.product-media:focus-visible { outline-offset: 5px; }

/* Editorial storytelling: common gutters, balanced image/text and restrained borders. */
.split { grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5.8vw, 88px); }
.split .copy { padding-block: 16px; max-width: 540px; }
.split .copy p { max-width: 54ch; line-height: 1.85; }
.split .copy h2 { margin-bottom: 23px; }
.split > .photo img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.origin-split { padding-top: 0; padding-bottom: 66px; }
.origin-split .wrap { padding-top: 52px; border-top-color: var(--line); }
.origin-split .photo { position: relative; }
.origin-split .photo::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid #755a3235; z-index: -1; pointer-events: none; }
.origin-split .copy { padding-left: 8px; }
.origin-split h2 { font-size: clamp(32px, 3vw, 44px); }
.service-grid { gap: 24px; }
.service-card { border-top: 1px solid var(--line); padding-top: 16px; }
.service-card > a { overflow: hidden; border-radius: 2px; }
.service-card img { height: auto; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 560ms var(--jqx-ease); }
.service-card .service-body { padding-top: 21px; display: flex; flex-direction: column; flex: 1; }
.service-card .service-body > .icon { width: 22px; height: 22px; margin-bottom: 16px; }
.service-card h3 { font-size: clamp(22px, 1.75vw, 26px); margin-bottom: 11px; min-height: 2.5em; }
.service-card p { line-height: 1.75; font-size: 13px; margin-bottom: 13px; }
.service-card .textlink { align-self: start; }
.quality-split { grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5.6vw, 85px); }
.quality-split .copy { max-width: 480px; }
.quality-split .copy p { line-height: 1.85; }
.mosaic { gap: 24px 20px; }
.mosaic a { display: block; overflow: hidden; border-radius: 2px; }
.mosaic img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 560ms var(--jqx-ease); }
.mosaic figcaption { font-size: 12px; line-height: 1.6; margin-top: 11px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.journal-teaser { grid-template-columns: 1.17fr 1fr; background: #e7e8df; border-radius: 2px; overflow: hidden; }
.journal-teaser > a { overflow: hidden; height: 100%; }
.journal-teaser img { height: 100%; min-height: 340px; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 560ms var(--jqx-ease); }
.journal-teaser .copy { padding: clamp(28px, 4vw, 64px); }
.journal-teaser h2 { font-size: clamp(31px, 2.7vw, 41px); }
.journal-teaser p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.help-band { background: var(--deep); position: relative; isolation: isolate; overflow: hidden; }
.help-band::before { content: ''; position: absolute; width: 430px; height: 430px; right: -180px; top: -190px; border: 1px solid #e7e8df14; border-radius: 50%; box-shadow: 0 0 0 40px #e7e8df08, 0 0 0 80px #e7e8df05; pointer-events: none; z-index: -1; }
.help-band h2 { font-size: clamp(31px, 2.7vw, 41px); margin-bottom: 13px; }
.help-band p { max-width: 62ch; font-size: 14px; }
.help-band .actions { gap: 14px; }
.help-band .eyebrow { color: #d5c29b; }
.site-footer { padding: 62px 0 28px; background: var(--foot); }
.footer-grid { grid-template-columns: 1.35fr repeat(4, 1fr); gap: 34px; }
.footer-brand p { color: #c0c8bd; line-height: 1.85; font-size: 13px; }
.footer-brand .small { font-size: 11px; color: #a9b5a7; }
.footer-col h3 { font-size: 12px; font-weight: 500; line-height: 1.7; letter-spacing: .025em; margin-bottom: 17px; }
.footer-col a { color: #c0c8bd; font-size: 12px; line-height: 1.7; padding-block: 6px; }
.footer-bottom { border-color: #d6d6c92b; color: #b6c1b1; margin-top: 46px; padding-top: 23px; font-size: 11px; }
.footer-bottom nav { gap: 12px 22px; }
.site-footer a:hover { color: var(--paper); }
.lightbox-figure { position: relative; padding-top: 43px; }
.lightbox-figure > .icon-btn { position: absolute; top: 0; right: 0; background: var(--paper); z-index: 1; }
.modal.lightbox img { width: auto; max-width: 100%; height: auto; max-height: calc(82dvh - 84px); margin-inline: auto; object-fit: contain; }
dialog[open].drawer-dialog { animation: jqx-drawer-enter 220ms var(--jqx-ease); }
dialog[open].modal:not(.drawer-dialog) { animation: jqx-dialog-enter 160ms var(--jqx-ease); }
@keyframes jqx-drawer-enter { from { opacity: .4; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes jqx-dialog-enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Motion is opt-in by JS and limited to static, below-fold editorial content. */
.jqx-reveal { opacity: 1; transform: none; }
.jqx-reveal.is-ready { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--jqx-ease), transform 560ms var(--jqx-ease); }
.jqx-reveal.is-ready.is-visible, .jqx-reveal.is-ready:focus-within { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .product-media:hover img, .product-media:focus-visible img,
  .service-card:hover img, .mosaic a:hover img, .journal-teaser > a:hover img { transform: scale(1.025); }
}
@media (min-width: 1500px) { .hero { min-height: 340px; height: auto; } }
@media (max-width: 1250px) {
  .header-inner { gap: 17px; }
  .desktop-nav { gap: 16px; }
  .header-quote { padding-inline: 12px; }
  .five-grid { gap: 18px; }
  .five-grid .product-card h3 { font-size: 20px; }
  .product-bottom { align-items: start; }
  .footer-grid { gap: 27px; }
}
@media (max-width: 1150px) {
  .header-actions { margin-left: auto; }
  .hero-copy { max-width: 660px; }
  .service-card h3 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1.35fr 1fr 1fr; }
  .footer-brand { grid-row: span 2; }
  .help-band .wrap { display: flex; }
  .help-band .actions { margin-top: 0; flex-shrink: 1; }
}
@media (max-width: 900px) {
  :root { --jqx-gutter: 28px; }
  .hero h1 { font-size: 45px; }
  .five-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 21px; }
  .home-products { padding-bottom: 48px; }
  .quality-split { grid-template-columns: 1fr; gap: 34px; }
  .quality-split > .copy { max-width: 650px; }
  .split { gap: 32px; }
  .split h2 { font-size: 33px; }
  .split .copy { padding-block: 0; }
  .origin-split .copy { padding-left: 0; }
  .origin-split .photo::after { inset: 10px -10px -10px 10px; }
  .journal-teaser img { min-height: 310px; }
  .help-band .wrap { display: block; }
  .help-band .actions { margin-top: 24px; }
}
@media (max-width: 650px) {
  :root { --jqx-gutter: 20px; --header-h: 68px; }
  body { font-size: 15px; line-height: 1.8; }
  .site-header { height: 68px; }
  .header-inner { gap: 6px; }
  .brand { width: 104px; }
  .brand img { height: 27px; width: 96px; }
  .brand small { font-size: 7px; margin-top: 5px; }
  .icon-btn { width: 38px; height: 44px; min-height: 44px; padding: 9px; }
  .header-actions { gap: 0; }
  .header-actions .locale-select { max-width: 62px; font-size: 11px; }
  .section { padding-block: 45px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }
  h2 { font-size: 31px; }
  .heading { gap: 15px; margin-bottom: 24px; }
  .heading h2 { font-size: 29px; }
  .heading .textlink { font-size: 11px; max-width: 92px; gap: 10px; }
  .heading .textlink .icon { flex: none; width: 19px; }
  .btn { padding-inline: 19px; font-size: 12px; }
  .hero { min-height: 292px; height: auto; }
  .hero-copy { padding-block: 28px; }
  .hero h1 { max-width: 100%; font-size: clamp(31px, 8.6vw, 42px); line-height: 1.14; margin-bottom: 17px; }
  .hero p { font-size: 13px; line-height: 1.75; max-width: 44ch; margin-bottom: 21px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 15px; }
  .hero .btn { font-size: 11px; min-height: 44px; padding: 11px 16px; max-width: 100%; }
  .hero .actions { gap: 10px; }
  .hero::after { background: linear-gradient(90deg, #142a22c9, #142a2273); }
  .info-strip .wrap { width: 100%; min-height: 56px; }
  .info-strip a { min-height: 56px; font-size: 10px; gap: 6px; padding-inline: 5px; }
  .info-strip .icon { width: 15px; height: 15px; }
  .home-products { padding: 29px 0 40px; }
  .home-products .heading h2 { font-size: 27px; max-width: 260px; }
  .home-products .heading { margin-bottom: 23px; }
  .five-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .product-media img { height: auto; aspect-ratio: 4 / 3; }
  .product-card h3, .five-grid .product-card h3 { font-size: 19px; min-height: 48px; margin: 6px 0 9px; line-height: 1.3; }
  .product-card .card-body { padding-top: 14px; }
  .category-label { font-size: 9px; letter-spacing: .075em; }
  .card-origin { min-height: 36px; font-size: 11px; margin-bottom: 8px; }
  .product-bottom { padding-top: 10px; }
  .product-bottom .price { font-size: 14px; }
  .product-bottom .textlink { min-height: 44px; font-size: 11px; padding-top: 6px; }
  .split, .quality-split { grid-template-columns: 1fr; gap: 28px; }
  .split > .photo img { height: auto; aspect-ratio: 3 / 2; }
  .split .copy { max-width: 100%; }
  .split .copy p { font-size: 14px; }
  .origin-split { padding-top: 0; padding-bottom: 42px; }
  .origin-split .wrap { padding-top: 37px; }
  .origin-split .photo::after { inset: 8px -8px -8px 8px; }
  .origin-split h2 { font-size: 33px; }
  .service-grid { gap: 27px 17px; }
  .service-card { padding-top: 12px; }
  .service-card img { height: auto; aspect-ratio: 5 / 4; }
  .service-card .service-body { padding-top: 17px; }
  .service-card .service-body > .icon { margin-bottom: 13px; }
  .service-card h3 { font-size: 21px; min-height: 2.6em; }
  .service-card p { font-size: 12px; line-height: 1.8; }
  .service-card .textlink { font-size: 11px; min-height: 44px; }
  .quality-split .copy p { font-size: 14px; }
  .mosaic { gap: 21px 15px; }
  .mosaic figcaption { font-size: 11px; }
  .journal-teaser { grid-template-columns: 1fr; }
  .journal-teaser img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .journal-teaser .copy { padding: 29px 26px; }
  .journal-teaser h2 { font-size: 32px; }
  .journal-teaser p { font-size: 13px; }
  .help-band h2 { font-size: 30px; }
  .help-band p { font-size: 13px; }
  .help-band .actions { gap: 10px; }
  .site-footer { padding: 45px 0 38px; }
  .has-buy-strip .site-footer { padding-bottom: 104px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; max-width: 320px; padding-bottom: 12px; }
  .footer-col h3 { margin-bottom: 12px; }
  .footer-col a { padding-block: 7px; font-size: 12px; }
  .footer-bottom { display: block; margin-top: 31px; font-size: 10px; }
  .footer-bottom nav { gap: 10px 17px; margin-top: 17px; }
}
@media (max-width: 360px) {
  :root { --jqx-gutter: 16px; }
  .brand { width: 88px; }
  .brand img { width: 86px; }
  .header-actions .locale-select { max-width: 53px; }
  .icon-btn { width: 36px; }
  .hero h1 { font-size: 30px; }
  .hero .btn { padding-inline: 12px; }
  .home-products .heading h2 { font-size: 24px; }
  .product-card h3, .five-grid .product-card h3 { font-size: 18px; }
  .service-card h3 { font-size: 19px; }
}
@media (max-height: 800px) and (min-width: 901px) {
  .hero { min-height: 278px; }
  .hero-copy { padding-block: 25px; }
  .hero h1 { font-size: 45px; }
  .home-products { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .jqx-reveal.is-ready { opacity: 1; transform: none; }
  .product-media img, .service-card img, .mosaic img, .journal-teaser img, .textlink .icon { transform: none !important; }
}
/* Respect the actual text language, including an English article fallback. */
:is(.hero, .banner) h1:lang(zh), .home-products h2:lang(zh), .product-card h3:lang(zh) { letter-spacing: .025em; line-height: 1.3; }
:is(.hero, .banner) h1:lang(th), .home-products h2:lang(th), .product-card h3:lang(th) { letter-spacing: 0; line-height: 1.35; }
@media print { .jqx-reveal.is-ready { opacity: 1; transform: none; } }
