/* Page-specific polish for the older block-theme routes. Editorial white is shared with the new Shop. */
body.sunxi-unified-shell { --sunxi-paper:#fff; --sunxi-paper-deep:#fff; --sunxi-ink:#1d1c19; --sunxi-soft-ink:#625f59; --sunxi-line:#d9d9d5; --sunxi-crimson:#853b36; background:#fff; color:#1d1c19; }
body.sunxi-unified-shell .wp-site-blocks, body.sunxi-unified-shell main { background:#fff; }
body.sunxi-unified-shell .joinchat .joinchat__button { width:50px !important; height:50px !important; background:#1d1c19 !important; color:#fff !important; box-shadow:0 2px 12px rgb(0 0 0 / 15%) !important; }
body.sunxi-unified-shell .joinchat .joinchat__button__ico, body.sunxi-unified-shell .joinchat .joinchat__button__ico svg { width:50px !important; height:50px !important; }

/* Artisan Story: keep Jing's photography and approved wording, soften the old beige and card treatments. */
body.page-id-27 .sunxicraft-story, body.page-id-27 .sunxicraft-story__hero, body.page-id-27 .sunxicraft-story__materials { background:#fff; }
body.page-id-27 .sunxicraft-story__hero { grid-template-columns:minmax(0,52%) minmax(0,48%); min-height:620px; }
body.page-id-27 .sunxicraft-story__hero-copy { padding:70px clamp(32px,6.5vw,105px); }
body.page-id-27 .sunxicraft-page-eyebrow { color:#77736d; font:700 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.18em; }
body.page-id-27 .sunxicraft-story h1 { max-width:650px; font:400 clamp(54px,5.4vw,80px)/1.02 Georgia,"Times New Roman",serif; letter-spacing:-.045em; }
body.page-id-27 .sunxicraft-story__hero-copy p:last-child { max-width:530px; color:#53504b; font:400 15px/1.72 Arial,Helvetica,sans-serif; }
body.page-id-27 .sunxicraft-story__hero-image { min-height:620px; background:#f6f7f8; }
body.page-id-27 .sunxicraft-story__section { max-width:1300px; padding:100px 40px; }
body.page-id-27 .sunxicraft-story h2 { font-size:clamp(35px,3.7vw,54px); }
body.page-id-27 .sunxicraft-story__narrative p, body.page-id-27 .sunxicraft-story__materials-head p:last-child, body.page-id-27 .sunxicraft-story__material-grid p, body.page-id-27 .sunxicraft-story__statement p:not(.sunxicraft-page-eyebrow) { color:#625f59; font:400 14px/1.75 Arial,Helvetica,sans-serif; }
body.page-id-27 .sunxicraft-story__materials { padding:96px max(40px,calc((100% - 1220px)/2)); border-top:1px solid rgb(29 28 25 / 16%); }
body.page-id-27 .sunxicraft-story__materials-head { margin-bottom:40px; }
body.page-id-27 .sunxicraft-story__material-grid { gap:clamp(24px,4vw,65px); border:0; background:transparent; }
body.page-id-27 .sunxicraft-story__material-grid > div { min-height:0; padding:27px 0 15px; border-top:1px solid rgb(29 28 25 / 22%); background:#fff; }
body.page-id-27 .sunxicraft-story__material-grid span { color:#77736d; font:700 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.12em; }
body.page-id-27 .sunxicraft-story__material-grid h3 { margin:20px 0 12px; font-size:clamp(22px,2vw,29px); }
body.page-id-27 .sunxicraft-story__statement { max-width:900px; padding:95px 32px 110px; border-top:1px solid rgb(29 28 25 / 16%); }
body.page-id-27 .sunxicraft-story__statement a { margin:12px 12px 0; padding:0 0 5px; border:0; border-bottom:1px solid #1d1c19; border-radius:0; background:none; color:#1d1c19; font:700 11px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
body.page-id-27 .sunxicraft-story__statement a:last-child { background:none; color:#1d1c19; }

/* Journal index and article: retain the long-form information, use the same white paper and restrained type. */
body.blog .sunxicraft-journal-index, body.blog .sunxicraft-journal-index__intro { background:#fff; color:#1d1c19; }
body.blog .sunxicraft-journal-index__intro { padding:88px clamp(25px,5.5vw,84px) 70px; border-bottom:1px solid rgb(29 28 25 / 14%); }
body.blog .sunxicraft-journal-index__intro > div { max-width:1300px; }
body.blog .sunxicraft-journal-index__eyebrow { color:#77736d; font:700 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.17em; }
body.blog .sunxicraft-journal-index h1 { font-size:clamp(50px,6vw,82px); }
body.blog .sunxicraft-journal-index__intro p:last-child { max-width:650px; color:#625f59; font:400 15px/1.72 Arial,Helvetica,sans-serif; }
body.blog .sunxicraft-journal-index__query { max-width:1300px; padding:80px clamp(25px,5.5vw,84px) 115px; }
body.blog .sunxicraft-journal-index__card { border-color:rgb(29 28 25 / 18%); }
body.blog .sunxicraft-journal-index__card .wp-block-post-title { font-size:clamp(25px,2.5vw,36px); }
body.blog .sunxicraft-journal-index__card .wp-block-post-excerpt { color:#625f59; font:400 14px/1.7 Arial,Helvetica,sans-serif; }
body.blog .sunxicraft-journal-index__card .wp-block-post-terms, body.blog .sunxicraft-journal-index__card .wp-block-post-date { color:#77736d; font:700 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.12em; }
body.sunxicraft-editorial-article .sunxicraft-journal-article, body.sunxicraft-editorial-article .sunxicraft-journal-hero { background:#fff; }
body.sunxicraft-editorial-article .sunxicraft-journal-hero h1 { font-size:clamp(50px,6vw,86px); }
body.sunxicraft-editorial-article .sunxicraft-journal-deck { color:#625f59; font:400 16px/1.68 Arial,Helvetica,sans-serif; }
body.sunxicraft-editorial-article .sunxicraft-wuxing-visual { background:#f8f8f6; }
body.sunxicraft-editorial-article .sunxicraft-eyebrow, body.sunxicraft-editorial-article .sunxicraft-kicker, body.sunxicraft-editorial-article .sunxicraft-answer-label { color:#77736d; font:700 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.16em; }

/* Product categories: image-led product listings, four across at most, with direct product links. */
body.tax-product_cat .wp-site-blocks main { padding-top:34px; padding-bottom:105px; }
body.tax-product_cat main .wp-block-woocommerce-breadcrumbs { margin-bottom:32px; }
body.tax-product_cat main .woocommerce-breadcrumb, body.tax-product_cat main .woocommerce-breadcrumb a { color:#77736d; font:400 11px/1.5 Arial,Helvetica,sans-serif; text-decoration:none; }
body.tax-product_cat main .wp-block-query-title { margin:0 0 34px; color:#1d1c19; font:400 clamp(42px,4.5vw,62px)/1.05 Georgia,"Times New Roman",serif; letter-spacing:-.045em; }
body.tax-product_cat main .wp-block-woocommerce-product-results-count { display:none; }
body.tax-product_cat main .wp-block-group.alignwide:has(.wp-block-woocommerce-catalog-sorting) { justify-content:flex-end; }
body.tax-product_cat main .wp-block-woocommerce-catalog-sorting select { min-height:35px; padding:4px 24px 4px 0; border:0; background:#fff; color:#625f59; font:400 11px/1.4 Arial,Helvetica,sans-serif; }
body.tax-product_cat .wp-block-woocommerce-product-collection .wc-block-product-template { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:50px 20px; }
body.tax-product_cat .wp-block-woocommerce-product-collection .wc-block-product { display:flex; flex-direction:column; height:auto; padding:0; border:0; background:#fff; }
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-image { margin:0 0 13px; background:#fff; }
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-image img { display:block; width:100%; aspect-ratio:1/1; padding:0; object-fit:cover; }
body.tax-product_cat .wc-block-product .wp-block-post-title { flex:0 0 auto; min-height:2.8em; margin:0 0 7px; color:#1d1c19; font:400 14px/1.38 Arial,Helvetica,sans-serif !important; text-align:left; }
body.tax-product_cat .wc-block-product .wp-block-post-title a { color:#1d1c19; font:inherit; text-decoration:none; }
body.tax-product_cat .wc-block-product .wp-block-post-title a:hover { text-decoration:underline; text-underline-offset:3px; }
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-price { margin:0; color:#55514c; text-align:left; }
body.tax-product_cat .wc-block-product .wc-block-components-product-price { color:#55514c; font:400 11px/1.5 Arial,Helvetica,sans-serif; text-align:left; }
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-button { display:none; }
body.tax-product_cat .wp-block-query-pagination a, body.tax-product_cat .wp-block-query-pagination .current { border:0; background:#fff; color:#1d1c19; font:400 12px/1.4 Arial,Helvetica,sans-serif; }

/* Cart, account and checkout: thin rules and small, readable form type. */
body.woocommerce-cart main, body.woocommerce-account main, body.woocommerce-checkout main { padding-top:54px; padding-bottom:110px; }
body.woocommerce-cart main h1, body.woocommerce-account main h1, body.woocommerce-checkout main h1 { color:#1d1c19; font:400 clamp(44px,4.5vw,62px)/1.08 Georgia,"Times New Roman",serif; letter-spacing:-.045em; }
body.woocommerce-cart .wc-block-cart__empty-cart__title { padding-top:25px; color:#1d1c19; font:400 27px/1.2 Georgia,"Times New Roman",serif; }
body.woocommerce-cart .wc-block-cart__empty-cart__title::before { display:none !important; }
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .is-style-dots { display:none; }
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { margin:70px 0 30px; font:400 30px/1.1 Georgia,"Times New Roman",serif; }
body.woocommerce-cart .wc-block-grid__products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
body.woocommerce-cart .wc-block-grid__product { border:0; background:#fff; }
body.woocommerce-cart .wc-block-grid__product { width:auto !important; max-width:none !important; flex:none !important; }
body.woocommerce-cart .wc-block-grid__product-title { min-height:2.8em; color:#1d1c19; font:400 14px/1.38 Arial,Helvetica,sans-serif; text-align:left; }
body.woocommerce-cart .wc-block-grid__product-price { color:#55514c; font:400 11px/1.5 Arial,Helvetica,sans-serif; text-align:left; }
body.woocommerce-cart .wc-block-grid__product-add-to-cart { display:none; }
body.woocommerce-cart .wc-block-components-sidebar, body.woocommerce-checkout .wc-block-components-sidebar, body.woocommerce-account .woocommerce-MyAccount-content { border:1px solid rgb(29 28 25 / 16%); background:#fff; }
body.woocommerce-cart .wc-block-components-button, body.woocommerce-checkout .wc-block-components-button, body.woocommerce-account .woocommerce-button { min-height:46px; border:1px solid #1d1c19; border-radius:0; background:#1d1c19; color:#fff; font:700 11px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
body.woocommerce-account .sunxicraft-account-intro { max-width:1280px; margin:0 auto 65px; padding:20px 0 50px; border-bottom:1px solid rgb(29 28 25 / 16%); background:#fff; }
body.woocommerce-account .woocommerce { max-width:1340px; margin:0 auto; padding:0 30px; }
body.woocommerce-account .sunxicraft-account-intro p:first-child { color:#77736d; font:700 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.16em; }
body.woocommerce-account .sunxicraft-account-intro p:last-child { color:#625f59; font:400 14px/1.65 Arial,Helvetica,sans-serif; }
body.woocommerce-account .woocommerce :is(h2,h3) { font:400 28px/1.15 Georgia,"Times New Roman",serif; }
body.woocommerce-account .woocommerce form.login, body.woocommerce-account .woocommerce form.register { padding:26px; border:1px solid rgb(29 28 25 / 18%); border-radius:0; background:#fff; }
body.woocommerce-account .woocommerce form :is(label,p) { color:#3d3935; font:400 13px/1.55 Arial,Helvetica,sans-serif; }
body.woocommerce-account .woocommerce form :is(input[type=text],input[type=email],input[type=password]) { min-height:46px; border:1px solid #cfcfc9; border-radius:0; background:#fff; font:400 13px/1.4 Arial,Helvetica,sans-serif; }
body.woocommerce-account .woocommerce form button { min-height:45px; padding:10px 24px; border:1px solid #1d1c19; border-radius:0; background:#1d1c19; color:#fff; font:700 11px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.06em; }
body.woocommerce-account .woocommerce .show-password-input { min-height:0; border:0 !important; background:transparent !important; color:#1d1c19 !important; box-shadow:none; }
body.woocommerce-checkout .wc-block-components-text-input input, body.woocommerce-checkout .wc-block-components-combobox input, body.woocommerce-checkout .wc-block-components-text-input select { border-color:#cfcfc9; border-radius:0; background:#fff; }
@media(max-width:1050px){ body.tax-product_cat .wp-block-woocommerce-product-collection .wc-block-product-template { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }
@media(max-width:700px){
 body.page-id-27 .sunxicraft-story__hero { grid-template-columns:1fr; }
 body.page-id-27 .sunxicraft-story__hero-image { order:-1; min-height:330px; }
 body.page-id-27 .sunxicraft-story__hero-image img { height:330px; object-position:center 30%; }
 body.page-id-27 .sunxicraft-story__hero-copy { padding:45px 25px 60px; }
 body.page-id-27 .sunxicraft-story h1 { font-size:clamp(42px,11vw,55px); }
 body.page-id-27 .sunxicraft-story__section, body.page-id-27 .sunxicraft-story__materials { padding:70px 25px; }
 body.page-id-27 .sunxicraft-story__material-grid { grid-template-columns:1fr; gap:8px; }
 body.blog .sunxicraft-journal-index__intro { padding:65px 25px 55px; }
 body.blog .sunxicraft-journal-index h1 { font-size:clamp(43px,10vw,58px); }
 body.blog .sunxicraft-journal-index__query { padding:60px 25px 75px; }
 body.tax-product_cat .wp-site-blocks main { padding-top:24px; padding-bottom:75px; }
 body.tax-product_cat main .wp-block-query-title { margin-bottom:25px; font-size:37px; }
 body.tax-product_cat .wp-block-woocommerce-product-collection .wc-block-product-template { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:32px 13px; }
 body.tax-product_cat .wc-block-product .wp-block-post-title { font-size:12px !important; }
 body.tax-product_cat .wc-block-product .wc-block-components-product-price { font-size:11px; }
 body.woocommerce-cart main, body.woocommerce-account main, body.woocommerce-checkout main { padding-top:35px; padding-bottom:75px; }
 body.woocommerce-cart .wc-block-grid__products { gap:13px; }
 body.woocommerce-cart .wc-block-grid__products { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.woocommerce-account .sunxicraft-account-intro { margin-bottom:35px; padding:15px 0 35px; }
 body.woocommerce-account .woocommerce { padding:0 25px; }
 body.woocommerce-account .woocommerce form.login, body.woocommerce-account .woocommerce form.register { padding:20px; }
}
