/* Shared framed category content: quiet surfaces, brand accents, homepage covers. */
body.page-template-page-category-hub .wzd-hub-page{--hub-ink:#2f3034;--hub-muted:#62646c;--hub-line:#e4e4e8;--hub-soft:#f7f6f5;--hub-brand:#8e2521}
body.page-template-page-category-hub .wzd-hub-main{min-width:0}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll{margin:16px 0 24px;padding:0!important;border:1px solid var(--hub-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;overflow-x:auto;max-width:100%}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:100%;border-collapse:collapse!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table :is(th,td){padding:11px 14px!important;border:0!important;border-bottom:1px solid var(--hub-line)!important;color:var(--hub-ink)!important;font-size:14px!important;line-height:1.6!important;text-align:left;vertical-align:top;white-space:normal!important;background:transparent!important;font-weight:400!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table thead tr{background:#f0ece9!important;color:var(--hub-ink)!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table thead th{font-weight:600!important;color:#543a36!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table tbody tr{background:#fff!important;color:var(--hub-ink)!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table tbody tr:nth-child(even){background:#faf9f8!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table tbody td:first-child{font-weight:600!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table tbody tr:last-child td{border-bottom:0!important}
.wzd-hub-page .wzd-content-table-scroll--wide::before{content:none!important}
/* Every icon is centered in its own box. Global absolute glyph rules must
 * never position category benefit icons against the outer card. */
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini{display:grid!important;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;align-items:start;gap:5px 12px;min-width:0;padding:18px!important;border:1px solid var(--hub-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;transform:none!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini::before{display:none!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini>i{position:static!important;grid-column:1;grid-row:1/3;display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;margin:0!important;padding:0!important;flex:none;background:#f7eeee!important;color:var(--hub-brand)!important;font-size:22px!important;line-height:1!important;border-radius:11px!important;transform:none!important}
body.page-template-page-category-hub .wzd-hub-page :is(.wzd-pdp-mini>i,.wzd-pdp-sec-h>i)::before{position:static!important;display:block!important;margin:0!important;padding:0!important;line-height:1!important;transform:none!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini :is(h3,h4){grid-column:2;margin:0!important;color:var(--hub-ink)!important;font-size:15px!important;line-height:1.5!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini p{grid-column:2;margin:0!important;color:var(--hub-muted)!important;font-size:13px!important;line-height:1.65!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-sec-h{display:flex;align-items:center;gap:10px}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-sec>.wzd-pdp-sec-h{margin:0 0 14px!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-sec-h>i{position:static!important;display:flex!important;align-items:center;justify-content:center;flex:0 0 34px;width:34px!important;height:34px!important;background:#f7eeee!important;color:var(--hub-brand)!important;border-radius:10px;font-size:18px!important;line-height:1!important}
/* Original category quote copy remains available on a light framed card. */
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-content .wzd-hub-quote-card{margin:24px 0!important;padding:22px!important;border:1px solid var(--hub-line)!important;border-radius:14px!important;background:var(--hub-soft)!important;color:var(--hub-ink)!important;box-shadow:none!important}
.wzd-hub-page .wzd-hub-quote-card::before{display:none!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card h3{margin:0 0 8px!important;font-size:19px!important;line-height:1.5!important;color:var(--hub-ink)!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card p{margin:0 0 14px!important;font-size:14px!important;line-height:1.65!important;color:var(--hub-muted)!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card p.wzd-hub-quote-heading{font-size:17px!important;font-weight:600;color:var(--hub-ink)!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card ul{display:grid!important;gap:6px;margin:0 0 18px!important;padding:0 0 0 20px!important;list-style:disc!important;color:var(--hub-ink)!important;font-size:13px!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card li{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--hub-ink)!important;font-size:13px!important;line-height:1.6!important;min-height:0!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card li::before{display:none!important}
.wzd-hub-page .wzd-hub-quote-card li::marker{color:var(--hub-brand)}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card p:has(>a){display:flex;flex-wrap:wrap;gap:10px;margin:0!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--hub-brand);border-radius:10px;background:#fff;color:var(--hub-brand)!important;font-size:13px;line-height:1.5;font-weight:600;text-decoration:none;box-shadow:none!important;transform:none!important}
html body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card a.wzd-hub-quote-line{background:var(--hub-brand)!important;color:#fff!important;border-color:var(--hub-brand)!important}
/* Category destinations use the exact cover collection shown on the homepage. */
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related{padding:16px!important;border:1px solid var(--hub-line)!important;border-radius:14px!important;background:var(--hub-soft)!important;box-shadow:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-label{grid-column:1/-1;color:var(--hub-ink)!important;margin:0 0 2px!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-item{position:relative;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-width:0;padding:0!important;border:1px solid var(--hub-line)!important;border-radius:11px;overflow:hidden;background:#fff;color:var(--hub-ink)!important;text-decoration:none}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-item img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;margin:0;border-radius:0}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-item span{display:block!important;-webkit-line-clamp:unset;overflow:visible;padding:8px 10px;font-size:12px;line-height:1.5;font-weight:500;min-height:0;height:auto;margin:0;flex:none}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-item>i{display:none}
@media(max-width:768px){
 body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-sec{margin-top:30px!important;padding:16px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-grid-3{grid-template-columns:1fr!important;gap:10px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini{padding:14px!important;gap:4px 10px}
 body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini:last-child:nth-child(odd){grid-column:auto}
 body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini h3{font-size:14px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-pdp-mini p{font-size:12px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-hub-content .wzd-hub-quote-card{padding:16px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card h3{font-size:17px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-hub-quote-card p{font-size:13px!important}
 html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table{min-width:calc(var(--wzd-table-columns,3)*135px)!important}
 html body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll>table :is(th,td){padding:9px 11px!important;font-size:12px!important}
 body.page-template-page-category-hub .wzd-hub-page .wzd-content-table-scroll--wide::before{content:'เลื่อนซ้าย–ขวาเพื่อดูตารางครบ'!important;display:block;position:sticky;left:0;margin:0;padding:7px 11px;border-bottom:1px solid var(--hub-line);background:#fff;color:var(--hub-muted);font-size:11px;line-height:1.5}
 .wzd-hub-page .wzd-hub-related-cover{aspect-ratio:1/1}
}

/* Editorial frames start with their own heading; avoid doubling article H2 spacing. */
body.page-template-page-category-hub:is(.page-id-914,.page-id-883,.page-id-17034,.page-id-2147,.page-id-9199,.page-id-37528,.page-id-28438,.page-id-965,.page-id-990,.page-id-16817) .wzd-hub-page .wzd-hub-content>section.wzd-pdp-sec>h2:first-child{margin:0 0 12px!important}
@media(max-width:768px){
 body.page-template-page-category-hub:is(.page-id-914,.page-id-883,.page-id-17034,.page-id-2147,.page-id-9199,.page-id-37528,.page-id-28438,.page-id-965,.page-id-990,.page-id-16817) .wzd-hub-page .wzd-hub-content>section.wzd-pdp-sec{margin:16px 0!important;padding:16px!important}
}

/* Curated leaf archives opt into the same compact editorial frame rhythm. */
.wzd-category-editorial>section.wzd-pdp-sec>h2:first-child{margin:0 0 12px!important}
@media(max-width:768px){
 .wzd-category-editorial>section.wzd-pdp-sec{margin:16px 0!important;padding:16px!important}
}

/* Scope table readability changes to the ten hubs owned by the eight SEO chats. */
@media(max-width:768px){
 html body.page-template-page-category-hub:is(.page-id-914,.page-id-883,.page-id-17034,.page-id-2147,.page-id-9199,.page-id-37528,.page-id-28438,.page-id-965,.page-id-990,.page-id-16817) .wzd-hub-page .wzd-content-table-scroll>table :is(th,td){font-size:14px!important}
 body.page-template-page-category-hub:is(.page-id-914,.page-id-883,.page-id-17034,.page-id-2147,.page-id-9199,.page-id-37528,.page-id-28438,.page-id-965,.page-id-990,.page-id-16817) .wzd-hub-page .wzd-content-table-scroll:has(tr>:nth-child(3))::before{content:"เลื่อนซ้าย–ขวาเพื่อดูตารางครบ"!important;display:block;position:sticky;left:0;margin:0;padding:7px 11px;border-bottom:1px solid var(--hub-line);background:#fff;color:var(--hub-muted);font-size:11px;line-height:1.5}
}

/* Related category titles fit their actual text; retain complete labels on every hub. */
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-item{align-self:start;min-height:0!important;height:auto!important}
body.page-template-page-category-hub .wzd-hub-page .wzd-hub-related-item span{min-height:0!important;height:auto!important;margin:0!important;padding:8px 10px!important;flex:none!important}
body.page-template-page-category-hub .wzd-hub-content ul.wzd-hub-related li{min-height:0!important;height:auto!important;align-self:start}

@media(max-width:768px){body.page-template-page-category-hub .wzd-hub-page .wzd-hub-mobile-strip{grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important}}

/* Preserve frames on the three curated block/interlocking-brick leaf guides. */
html body.tax-product_cat .wzd-category-editorial>section:is(#leaf-guide-473,#leaf-guide-129,#leaf-guide-675){border:1px solid var(--hub-line,#e7d8d2)!important;border-radius:12px!important}

/* Retain the three compact editorial frames on the two brick hubs. */
@media(max-width:768px){
 html body.page-template-page-category-hub:is(.page-id-17034,.page-id-2147) .wzd-hub-page .wzd-hub-content>section.wzd-pdp-sec{border:1px solid var(--hub-line,#e7d8d2)!important;border-radius:12px!important;background:#fff!important}
}

/* One category quote frame and one related-article row on hubs and archives. */
html body :is(.wzd-hub-page,.woocommerce) .wzd-category-quote,
html body .wzd-category-quote{display:block!important;box-sizing:border-box;padding:24px!important;margin:0!important;border:1px solid #e4dcd8!important;border-radius:16px!important;background:#fff!important;color:#2f3034!important;box-shadow:0 4px 18px rgba(61,38,31,.04)!important;min-width:0}
html body .wzd-category-quote::before,html body .wzd-category-quote::after{display:none!important}
html body .wzd-category-quote .wzd-qbox-t{margin:0 0 8px!important;font-size:20px!important;line-height:1.5!important;color:#2f3034!important}
html body .wzd-category-quote .wzd-qbox-s{margin:0 0 20px!important;font-size:14px!important;line-height:1.65!important;color:#62646c!important}
html body .wzd-category-quote-actions{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}
html body a.wzd-category-quote-btn{display:flex!important;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;min-height:52px;width:100%;margin:0!important;padding:12px 10px!important;border:1px solid #08723c!important;border-radius:12px!important;background:#08723c!important;color:#fff!important;text-align:center;text-decoration:none!important;font-size:15px!important;font-weight:600!important;line-height:1.5!important;transform:none!important;box-shadow:none!important;white-space:nowrap}
html body a.wzd-category-quote-btn>i{position:static!important;font-size:22px!important;line-height:1!important;flex:none}
html body a.wzd-category-quote-btn small{font-size:13px!important;font-weight:500;line-height:1.4}
html body a.wzd-category-quote-phone{background:#fff!important;border-color:#8e2521!important;color:#8e2521!important}
html body a.wzd-category-quote-btn:hover{filter:brightness(.94)}
html body :is(.wzd-category-quote-btn,.wzd-category-article,.wzd-category-articles-more,.wzd-category-article-row):focus-visible{outline:3px solid #8e2521!important;outline-offset:4px}
html body .wzd-category-articles{box-sizing:border-box;min-width:0;max-width:100%;margin:32px 0!important;padding:24px!important;border:1px solid #e4dcd8!important;border-radius:16px!important;background:#fff!important}
html body .wzd-category-articles-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 20px}
html body .wzd-category-articles-head h2{margin:0!important;padding:0!important;border:0!important;font-size:26px!important;line-height:1.4!important;color:#2f3034!important}
html body .wzd-category-articles-head h2::before,html body .wzd-category-articles-head h2::after{display:none!important}
html body .wzd-category-articles-head h2 span{color:#8e2521}
html body .wzd-category-articles-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:#8e2521!important;font-size:14px!important;font-weight:600;text-decoration:none!important;white-space:nowrap}
html body .wzd-category-articles-hint{display:none}
html body .wzd-category-article-row{display:grid!important;grid-template-columns:repeat(var(--article-columns,5),minmax(0,1fr))!important;gap:16px;min-width:0;max-width:100%;align-items:stretch}
html body a.wzd-category-article{display:flex!important;flex-direction:column;min-width:0;box-sizing:border-box;margin:0!important;padding:0!important;border:1px solid #e4dcd8;border-radius:12px;overflow:hidden;background:#fff;color:#2f3034!important;text-decoration:none!important;box-shadow:none!important;transform:none!important}
html body .wzd-category-article-image{aspect-ratio:3/2;display:flex;align-items:center;justify-content:center;background:#f7f5f3;overflow:hidden}
html body .wzd-category-article-image img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;border-radius:0!important}
html body .wzd-category-article-copy{padding:14px;display:flex;flex:1;flex-direction:column;gap:16px}
html body .wzd-category-article-copy h3{margin:0!important;padding:0!important;border:0!important;font-size:15px!important;line-height:1.65!important;font-weight:600!important;color:#2f3034!important;white-space:normal!important;overflow:visible!important;display:block!important;-webkit-line-clamp:unset!important}
html body .wzd-category-article-copy>span{display:flex;align-items:center;gap:5px;margin-top:auto;font-size:12px;line-height:1.5;color:#8e2521}
@media(min-width:769px){html body:is(.tax-product_cat,.post-type-archive-product) .wzd-category-quote{max-width:620px;margin:32px auto 0!important}}
@media(max-width:768px){
 html body .wzd-category-quote{padding:20px!important}
 html body.page-template-page-category-hub .wzd-hub-page .wzd-hub-sidebar>.wzd-category-quote{display:block!important;margin-bottom:24px!important}
 html body .wzd-category-articles{padding:16px!important;margin:24px 0!important}
 html body .wzd-category-articles-head{gap:6px;margin-bottom:8px}
 html body .wzd-category-articles-head h2{font-size:22px!important}
 html body .wzd-category-articles-hint{display:block;margin:0 0 12px!important;font-size:12px!important;line-height:1.5;color:#62646c}
 html body .wzd-category-article-row{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:min(82%,280px);gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:1px;padding:1px 1px 12px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
 html body .wzd-category-article{scroll-snap-align:start}
 html body .wzd-category-article-copy{padding:12px}
}

/* Latest brand direction: red quote frame, two white actions, cover and title cards. */
html body :is(.wzd-hub-page,.woocommerce) .wzd-category-quote,
html body .wzd-category-quote{border-color:#8e2521!important;border-radius:20px!important;background:linear-gradient(160deg,#8e2521,#4a1815)!important;color:#fff!important;box-shadow:0 8px 22px rgba(102,32,28,.12)!important}
html body .wzd-category-quote .wzd-qbox-t,html body .wzd-category-quote .wzd-qbox-s{color:#fff!important}
html body .wzd-category-quote-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
html body a.wzd-category-quote-btn{background:#fff!important;border-color:#fff!important;border-radius:100px!important;color:#8e2521!important;white-space:nowrap;min-height:52px}
html body .wzd-category-article-copy{padding:12px!important;gap:0;flex:none}
html body .wzd-category-article-copy h3{font-size:15px!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2!important;overflow:hidden!important}
html body .wzd-category-article-row{align-items:start}
/* Editorial contact actions follow the brand palette, away from tools/navigation. */
html body .wzd-hub-content a[href*="lin.ee"],
html body .wzd-category-editorial a[href*="lin.ee"]{background:#8e2521!important;border-color:#8e2521!important;color:#fff!important}

/* Mobile subcategory controls stay inside the product gutter, with a compact
   two-line label so adjacent categories remain discoverable. */
@media (max-width: 768px) {
 html body .wzd-hub-page .wzd-hub-tabs-bar {
  box-sizing: border-box; width: 100% !important; max-width: 100%;
  margin: 0 0 16px !important; padding: 8px 2px 10px !important;
  gap: 6px !important; scroll-padding-inline: 2px; scroll-snap-type: none;
 }
 html body .wzd-hub-page .wzd-hub-tab {
  box-sizing: border-box; flex: 0 0 auto; min-width: 0 !important;
  max-width: 136px; min-height: 44px !important; gap: 6px;
  padding: 6px 8px !important; font-size: 12px !important; line-height: 1.3 !important;
 }
 html body .wzd-hub-page .wzd-hub-tab-lbl {
  min-width: 0; white-space: normal; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-align: left;
 }
 html body .wzd-hub-page .wzd-hub-tab-count {
  flex: 0 0 auto; box-sizing: border-box; min-width: 18px; height: 18px;
  padding: 0 5px; font-size: 10px !important; line-height: 18px;
 }
}

html body .wzd-hub-page .wzd-hub-tab-lbl--short { display: none; }
@media(max-width:768px) {
 html body .wzd-hub-page .wzd-hub-tab-lbl--full { display:none!important; }
 html body .wzd-hub-page .wzd-hub-tab-lbl--short { display:block!important; white-space:nowrap; font-size:13px; }
}

/* Two readable contact actions share a row, including narrow sidebars. */
html body .wzd-category-quote-actions{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;gap:8px!important}
html body a.wzd-category-quote-btn{min-width:0;min-height:46px;padding:10px 6px!important;font-size:12px!important;gap:5px!important}
html body a.wzd-category-quote-btn>i{font-size:18px!important}
