@font-face {
    font-family: "Wix Madefor Display";
    src: url("/assets/kingsquare/wix-madefor-display-cyrillic-ext.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Wix Madefor Display";
    src: url("/assets/kingsquare/wix-madefor-display-cyrillic.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Wix Madefor Display";
    src: url("/assets/kingsquare/wix-madefor-display-vietnamese.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "Wix Madefor Display";
    src: url("/assets/kingsquare/wix-madefor-display-latin-ext.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Wix Madefor Display";
    src: url("/assets/kingsquare/wix-madefor-display.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --wp-font: "Wix Madefor Display", sans-serif;
    --wp-yellow: #ffcd05;
    --wp-hover: #fcb424;
    --wp-ink: #0d0e10;
    --wp-copy: #535353;
    --wp-line: #e4e5e7;
    --wp-wash: #f9fafb;
    --needle-font: var(--wp-font);
    --needle-ink: var(--wp-ink);
    --needle-muted: var(--wp-copy);
    --needle-accent: var(--wp-yellow);
    --needle-accent-dark: #735400;
    --needle-border: var(--wp-line);
    --needle-surface: var(--wp-wash);
    --needle-tint: #fff8da;
    --ks-blog-ink: var(--wp-ink);
    --ks-blog-body: var(--wp-copy);
    --ks-blog-accent: #735400;
    --ks-blog-accent-hover: var(--wp-ink);
    --ks-blog-accent-soft: #fff8da;
    --ks-blog-subtle: var(--wp-wash);
    --ks-blog-border: var(--wp-line);
}
/* Match Blocksy typography across independently styled page templates. */
html body, body :where(div,section,article,aside,main,nav,header,footer,a,button,input,select,option,textarea,label,summary,legend,p,span,li,dt,dd,small,strong,em,figcaption,table,th,td,caption,h1,h2,h3,h4,h5,h6) {
    font-family: var(--wp-font) !important;
}
body :is(h1,h2,h3,h4,h5,h6,.ny_banner_bt,.ks-section-title) {
    font-weight: 700 !important;
    letter-spacing: normal !important;
}
body :is(.ks-card-title,.component-body h3) { font-weight: 600 !important; }
body .w1600 { width: min(92%,1290px); }
body .top_bjj, body.ks-application-page > .top_bjj { position: sticky; top: 0; height: auto; z-index: 999; }
body .top_bjj .top_bj { position: relative; background: white; box-shadow: none; }
.top_bjj .site-utility { box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 18px; min-height: 40px; padding: 6px max(4%,calc((100% - 1290px)/2)); background: var(--wp-yellow); color: var(--wp-ink); font-size: 14px; font-weight: 650; }
.site-utility a { color: inherit; white-space: nowrap; }
.site-utility a:hover { text-decoration: underline; }
.top_bjj .top_bj .top { width: min(92%,1290px); margin: auto; height: 80px; display: flex; align-items: center; gap: 18px; }
.top_bjj .top_bj .top::after { display: none; }
.top_bjj .top_bj .top :is(.logo,.sousuo) { height: 100%; margin: 0; }
.top_bjj .top_bj .top .logo { order: 0; flex: 0 1 auto; }
.top_bjj .top_bj .top .logo a { display: block; width: clamp(130px,12vw,172px); max-width: 44vw; aspect-ratio: 2.9 / 1; overflow: hidden; }
.top_bjj .top_bj .top .logo img { display: block; position: static; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 57%; content: var(--header-logo, normal); }
.top_bjj .top_bj .top .zyw { order: 3; margin: 0; }
.top_bjj .top_bj .top .sousuo { order: 2; }
.top_bjj .top_bj .top .zhz { order: 4; }
.top_bjj #topNav > ul > li > :is(a,button) { color: var(--wp-copy); font: 700 12px/1.3 var(--wp-font); text-transform: uppercase; }
.top_bjj #topNav > ul > li:is(.s,:hover) > :is(a,button) { color: var(--wp-ink); }
.top_bjj #topNav .ks-nav-mega-trigger::before, .top_bjj #topNav > ul > li::after { background: var(--wp-yellow); }
.top_bjj #topNav .ks-nav-mega-trigger::after { display: none; }
body .top_bjj .top_bj .top .sousuo .ssk_bj.p-show { top: 120px; }
.top_bjj .top .zyw :is(summary,.ks-language-toggle) {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--header-language-color, var(--wp-copy));
    font-size: 12px;
}
.top_bjj .top .zyw :is(summary,.ks-language-toggle):is(:hover,:focus-visible),
.top_bjj .top .zyw .ks-language[open] summary {
    color: var(--header-language-highlight, var(--wp-ink));
}
.top_bjj .top .zyw :is(summary,.ks-language-toggle):focus-visible {
    outline: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}
body .top_bjj .top_bj:not(.active) {
    background: var(--wp-ink);
    --header-logo: url("/assets/kingsquare/king-square-logo-white.png");
    --header-language-color: #fff;
    --header-language-highlight: var(--wp-yellow);
}
body .top_bjj .top_bj:not(.active)::after { background: transparent; }
body .top_bjj .top_bj:not(.active) .sousuo_an img { filter: brightness(0) invert(1); }
body .top_bjj .top_bj:not(.active) .zhz samp { background: white; }
@media (min-width: 1201px) {
    .top_bjj .top #topNav { order: 1; margin: 0 auto; }
    .top_bjj .top #topNav > ul { display: flex; align-items: center; gap: clamp(15px,2vw,30px); margin: 0; }
    .top_bjj .top #topNav > ul > li { margin: 0; line-height: 80px; }
    .top_bjj .top #topNav > ul > li > :is(a,button) { display: inline-flex; align-items: center; min-height: 80px; font-size: 12px; }
    body .top_bjj .top_bj:not(.active) #topNav > ul > li > :is(a,button) { color: white; }
    body .top_bjj .top_bj:not(.active) #topNav > ul > li:is(.s,:hover) > :is(a,button) { color: var(--wp-yellow); }
}
@media (max-width: 1200px) {
    .top_bjj .top_bj .top { height: 68px; gap: 12px; }
    .top_bjj .top_bj .top .logo { margin-right: auto; }
    .top_bjj .top #topNav { top: 100%; max-height: calc(100dvh - 108px); overflow-y: auto; background: white; }
    .top_bjj #topNav > ul > li > :is(a,button) { line-height: 48px; }
    .top_bjj .site-utility { font-size: 12px; }
}
@media (max-width: 480px) {
    .top_bjj .site-utility { font-size: 11px; }
}

/* Product and Resources retain their existing navigation trees. */
#topNav .ks-nav-mega-panel { border-radius: 0 0 3px 3px; border-block-start-color: var(--wp-yellow); }
#topNav :is(.ks-mega-feature-copy,.ks-prod-mega-feature-head,.ks-prod-oem-cta,.ks-prod-group-icon) { background: var(--wp-ink); }
#topNav :is(.ks-prod-group-icon,.ks-prod-mega-eyebrow,.ks-prod-oem-kicker) { color: var(--wp-yellow); }
#topNav :is(.ks-prod-mega-all,.ks-prod-tech-tag) { background: var(--wp-yellow); color: var(--wp-ink); }
#topNav :is(.ks-prod-col-more,.ks-prod-compact-link,.ks-mega-item-title,.ks-prod-group-title,.ks-prod-tech-card-title) { color: var(--wp-ink); }
#topNav :is(.ks-prod-tech-card,.ks-mega-item,.ks-prod-compact-link):is(:hover,[aria-current]) { background: #fff8da; border-color: var(--wp-hover); }
#topNav :is(.ks-prod-mega-eyebrow,.ks-prod-compact-link:hover)::before { background: var(--wp-yellow); }

/* Directory, editorial and detail templates */
body .ks-catalog-center {
    --ks-ink: var(--wp-ink); --ks-muted: var(--wp-copy); --ks-panel: var(--wp-wash);
    --ks-line: var(--wp-line); --ks-teal: #735400; --ks-accent: var(--wp-hover);
}
body .ny_banner_bj:not(.needle-hero) { background: var(--wp-ink) !important; isolation: isolate; }
body .ny_banner_bj:not(.needle-hero)::before { content: ""; display: block; position: absolute; inset: 0; background: url("/assets/kingsquare/pattern.svg") center / cover; opacity: .07; pointer-events: none; z-index: -1; }
body .ny_banner_bj .ny_banner { position: relative; }
body .ny_banner_bj .ny_banner :is(.ny_banner_bt,.ny_banner_wb,.ny_banner_wz a,.ny_banner_wz li:last-child a) { color: white; }
body .ny_banner_bj .ny_banner .ny_banner_bt { font-weight: 800; letter-spacing: -.025em; }
body .ny_banner_bj .ny_banner .ny_banner_wz a:hover { color: var(--wp-yellow); }
body :is(.ks-support-section,.ks-applications,.ks-contact-inquiry,.ks-thanks,.ny_dh_bj) { background: var(--wp-wash); }
body :is(.ks-support-card,.ks-application-card,.ks-product-list > li,.ks-blog-card,.ks-contact-form,.xwzx ul li,.fwzc ul li,.faq_item) { border: 1px solid var(--wp-line); border-radius: 3px; box-shadow: none; }
body :is(.ks-support-intro h2,.ks-applications-intro h1,.ks-application-body h2,.ks-support-card h3,.xwzx ul li .xw_bt,.fwzc ul li .fwzc_bt,.xwxq_bt,.ks-contact-form h2,.faq_q,.ks-section-title) { color: var(--wp-ink); }
body :is(.ks-support-category,.ks-support-count,.ks-support-pdf-icon,.ks-application-category) { background: #fff4be; color: var(--wp-ink); }
body :is(.ks-support-btn--primary,.ks-contact-actions button,.ks-thanks__home,.ks-action,.ks-groups a[aria-current],.needle-category-nav li.s a,.back_btn,.fh_top) { background: var(--wp-yellow); color: var(--wp-ink); border-color: var(--wp-yellow); }
body :is(.ks-support-btn--primary,.ks-contact-actions button,.ks-thanks__home,.ks-action,.back_btn,.fh_top):hover { background: var(--wp-hover); color: var(--wp-ink); }
body :is(.ks-support-btn--ghost,.ks-application-related a,.ks-application-read-more,.ks-contact-actions a,.ny_dh ul li.s a,.xwzx ul li .xw_rq span) { color: #735400; }
body :is(.ks-applications-intro,.ny_dh ul li.s,.db_dh_bt)::after,
body .ny_dh ul li::before { background: var(--wp-yellow); }
body .faq_item.active .faq_q { background: #fff8da; color: var(--wp-ink); }
body :is(.needle-specs .spec-table thead,.tech_spec_table th) { background: var(--wp-ink); color: white; }
body .ks-directory-hero-visual { background: var(--wp-wash); border-radius: 3px; }
body .db_bj { background: var(--wp-ink); color: #ccc; border-top: 1px solid #ffffff20; }
body .db_bj :is(a,.db_bah) { color: #ccc; }
body .db_bj .db .db_dh .db_dh_bt { color: white; }
body .db_bj .db .db_dh .db_dh_bt::after { background: var(--wp-yellow); }
body .db_bj :is(.db_yqlj ul li span,a:hover,.db .db_dh ul li a:hover) { color: var(--wp-yellow); }
@media (max-width: 760px) {
    .db_bj .db.w1600 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
    .db_bj .db.w1600::after { display: none; }
    .db_bj .db .db_dh { width: auto; min-width: 0; margin: 0; overflow-wrap: anywhere; }
}

body .db_bj[data-site-footer] {
    --site-footer-muted: #a4a5a7;
    margin: 0;
    padding: 0;
    background: var(--wp-ink);
    color: white;
    font-size: 16px;
    line-height: 1.65;
}
.site-footer-inner { width: min(90%, 1290px); margin-inline: auto; }
.site-footer-upper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 298px; }
.site-footer-company { padding: 50px 50px 50px 0; }
.site-footer-news {
    padding: 50px 0 50px 50px;
    border-inline-start: 1px solid #ffffff20;
    color: var(--site-footer-muted);
}
.site-footer-logo { display: block; width: clamp(130px, 12vw, 172px); max-width: 100%; aspect-ratio: 2.9 / 1; overflow: hidden; }
.site-footer-logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; opacity: .63; }
.site-footer-company > p { margin: 12px 0 30px; color: var(--site-footer-muted); }
.site-footer-contact { display: flex; align-items: start; flex-wrap: wrap; gap: 20px 50px; font-style: normal; color: var(--site-footer-muted); font-size: 15px; }
.site-footer-contact > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.site-footer-contact svg { width: 30px; height: 30px; flex: none; }
.site-footer-contact strong, .site-footer-contact a { display: block; }
.db_bj[data-site-footer] .site-footer-contact a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }
.site-footer-news h2 { font-size: 19px; line-height: 1.45; margin: 0 0 9px; color: inherit; }
.site-footer-connect { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.db_bj[data-site-footer] .site-footer-connect h2 { margin: 0 0 22px; color: var(--site-footer-muted); font-size: clamp(26px, 2.3vw, 32px); font-weight: 600; line-height: 1.25; }
.site-footer-connect-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.db_bj[data-site-footer] .site-footer-connect-links a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--site-footer-muted); color: var(--wp-ink); transition: background-color .18s ease, transform .18s ease; }
.db_bj[data-site-footer] .site-footer-connect-links a:hover { background: var(--wp-yellow); color: var(--wp-ink); transform: translateY(-2px); }
.site-footer-connect-links svg { width: 22px; height: 22px; }
.site-footer-news > p { margin: 0 0 30px; }
.site-footer-form-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
    padding: 5px;
    border: 1px solid #ffffff20;
    border-radius: 3px;
}
.site-footer-form-fields input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-inline: 14px;
    border: 0;
    background: transparent;
    color: white;
    font: inherit;
}
.site-footer-form-fields input::placeholder { color: #97989a; }
.site-footer-form-fields button {
    min-height: 50px;
    padding: 0 21px;
    border: 0;
    border-radius: 2px;
    background: var(--wp-yellow);
    color: var(--wp-ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.site-footer-form-fields button:hover { background: var(--wp-hover); }
.site-footer-form-fields button:disabled { opacity: .6; cursor: wait; }
.site-footer-status { margin: 10px 0 0; }
.site-footer-status:empty { display: none; }
.site-footer-lower { border-top: 1px solid #ffffff20; }
.site-footer-lower .site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px 36px;
    padding-bottom: 50px;
    color: var(--site-footer-muted);
}
.site-footer-socials { display: flex; gap: 28px; }
.db_bj[data-site-footer] .site-footer-socials a { display: grid; place-items: center; min-width: 18px; min-height: 26px; color: #929396; }
.site-footer-socials svg { width: 18px; height: 18px; }
.site-footer-lower small { font-size: 15px; overflow-wrap: anywhere; }
.db_bj[data-site-footer] :is(a,input,button):focus-visible { outline: 2px solid var(--wp-yellow); outline-offset: 2px; }
body:has([data-site-footer]) #backToTop {
    right: 20px;
    bottom: 25px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 2px;
    background: #555;
    color: white;
    box-shadow: none;
}
body:has([data-site-footer]) #backToTop svg { width: 18px; height: 18px; }
@media (max-width: 689px) {
    .site-footer-inner { width: 88%; }
    .site-footer-upper, .site-footer-form-fields { grid-template-columns: minmax(0, 1fr); }
    .site-footer-company, .site-footer-news { padding: 50px 0; }
    .site-footer-news { border-inline-start: 0; border-top: 1px solid #ffffff20; }
    .site-footer-contact { flex-direction: column; gap: 24px; }
    .site-footer-lower .site-footer-inner { padding-top: 12px; }
}

/* Shared product-family and model detail layout. */
body:has(.product-page-layout) {
    --product-header-pattern: url("/assets/kingsquare/pattern.svg");
    --product-header-pattern-width: max(1300px, 100%);
    --product-nav-height: 80px;
}
body:has(.product-page-layout) .top_bjj .top_bj:not(.active) {
    background-image: linear-gradient(#0d0e10ed, #0d0e10ed), var(--product-header-pattern);
    background-position: center top, center 40px;
    background-size: auto, var(--product-header-pattern-width) auto;
    background-repeat: no-repeat;
}
body:has(.product-page-layout) .ny_banner_bj.needle-hero {
    background: var(--wp-ink);
}
body:has(.product-page-layout) .ny_banner_bj.needle-hero::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--product-header-pattern) center calc(-1 * var(--product-nav-height)) / var(--product-header-pattern-width) auto no-repeat;
    opacity: .07;
    pointer-events: none;
}
body:has(.product-page-layout) .ny_banner_bj.needle-hero::before {
    pointer-events: none;
}
@media (max-width: 1200px) {
    body:has(.product-page-layout) { --product-nav-height: 68px; }
}
@media (max-width: 760px) {
    body:has(.product-page-layout) .ny_banner_bj.needle-hero::before { opacity: .18; }
}

.product-page-layout { width: min(92%,1290px); margin: 0 auto; padding-block: clamp(28px,4vw,60px); display: grid; grid-template-columns: minmax(220px,24%) minmax(0,1fr); align-items: start; gap: clamp(26px,3.6vw,52px); }
.product-sidebar { color: var(--wp-copy); font: 400 15px/1.45 var(--wp-font); }
.product-sidebar .product-sidebar-title { display: block; margin-bottom: 18px; font-weight: 750; font-size: 19px; color: var(--wp-ink); }
.product-sidebar details { border-block-start: 1px solid var(--wp-line); }
.product-sidebar summary { padding: 14px 0; cursor: pointer; font-weight: 650; color: var(--wp-ink); }
.product-sidebar ul { margin: 0; padding: 0 0 12px; list-style: none; }
.product-sidebar li a { display: block; padding: 7px 12px; border-inline-start: 3px solid transparent; color: var(--wp-copy); }
.product-sidebar li a:is(:hover,[aria-current]) { background: #fff8da; color: var(--wp-ink); border-color: var(--wp-yellow); }
.product-page-content { min-width: 0; }
#product-results { scroll-margin-top: 138px; }
body .product-page-content .w1600 { width: 100%; max-width: 100%; }
.product-page-content > :first-child { padding-block-start: 0; margin-block-start: 0; }
.product-page-content > section:has(> ul[class*="-grid"]) { background: transparent; }
@media (min-width: 1001px) {
    .product-page-content ul:is(.spline-grid,.ks-product-list) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .product-page-layout { grid-template-columns: 1fr; gap: 22px; }
    .product-sidebar > details[open] > ul { max-height: 45dvh; overflow-y: auto; }
}

/* Product detail pages give the gallery and technical content the full reading width. */
main[data-product-detail] {
    --product-detail-gap: 40px;
    background: #fafafa;
}
[data-product-detail] .product-page-layout {
    display: block;
    width: min(90%, 1290px);
    padding-block: 60px;
}
[data-product-detail] .product-sidebar-column { display: none; }
[data-product-detail] .needle-summary { background: transparent; }
main[data-product-detail] :is(.needle-summary > .w1600,.ks-summary) {
    display: grid;
    grid-template-columns: minmax(0, calc(50% - var(--product-detail-gap))) minmax(0, 1fr);
    align-items: start;
    gap: var(--product-detail-gap);
}
main[data-product-detail] :is(.needle-main-photo:not([hidden]),.ks-detail-photo) {
    display: grid;
    grid: minmax(0, 1fr) / minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: white;
}
main[data-product-detail] :is(.needle-main-photo,.ks-detail-photo) img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}
@media (any-hover: hover) {
    main[data-product-detail] :is(.needle-main-photo:not([hidden]),.ks-detail-photo) {
        cursor: zoom-in;
    }
    main[data-product-detail] :is(.needle-main-photo,.ks-detail-photo) img {
        transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
        will-change: transform;
    }
    main[data-product-detail] :is(.needle-main-photo,.ks-detail-photo):is(:hover,[data-zooming]) img {
        transform: scale(2.2);
    }
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
    main[data-product-detail] :is(.needle-main-photo,.ks-detail-photo) img {
        transition: transform .22s ease-out;
    }
}
[data-product-detail] .needle-primary-model:not([hidden]) {
    display: grid;
    align-content: center;
    aspect-ratio: 4 / 3;
    background: white;
}
[data-product-detail] .needle-model-stage { border: 0; border-radius: 0; }
[data-product-detail] .needle-model-hint { padding-inline: 12px; }
.product-detail-breadcrumb {
    margin-block: 0 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--wp-copy);
}
.product-detail-breadcrumb :is(ol, ul) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-detail-breadcrumb li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-detail-breadcrumb li + li::before {
    content: "›";
    content: "›" / "";
    margin-inline: 8px;
    color: var(--wp-copy);
    font-size: 13px;
    line-height: 1;
}
.product-detail-breadcrumb a {
    color: var(--wp-hover);
    text-decoration: none;
}
.product-detail-breadcrumb a:hover {
    color: var(--wp-yellow);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.product-detail-breadcrumb a:focus-visible {
    outline: 2px solid var(--wp-ink);
    outline-offset: 2px;
}
[data-product-detail] .ks-family-links li { list-style: none; margin: 0; }
main[data-product-detail] :is(.needle-product h1,.product-detail-title) {
    margin: 0 0 24px;
    color: var(--wp-ink);
    font-size: 30px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
[data-product-detail] :is(.needle-product,.ks-detail-copy) { min-width: 0; }
@media (max-width: 999px) {
    main[data-product-detail] :is(.needle-summary > .w1600,.ks-summary) { grid-template-columns: minmax(0, 1fr); }
    [data-product-detail] .product-page-layout { padding-block: 50px; }
}
@media (max-width: 689px) {
    [data-product-detail] .product-page-layout { width: 88%; }
}

.product-sidebar details li a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-sidebar .family-count { flex: none; min-width: 30px; padding: 1px 7px; border: 1px solid var(--wp-line); border-radius: 1rem; color: var(--wp-copy); font-size: 12px; font-weight: 400; text-align: center; }

.family-results-toolbar:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.family-results-toolbar p { color: var(--wp-copy); font-size: 12px; text-transform: uppercase; }
.family-results-toolbar select {
    min-width: 170px;
    max-width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--wp-line);
    border-radius: 3px;
    background: white;
    color: var(--wp-copy);
}
.product-page-content .family-results-toolbar + .ks-family-content { padding-top: 0; }
.product-page-content .family-product-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
body .product-page-content .family-product-list > li,
.product-page-content .family-product-list > li > a,
.product-page-content .family-product-list > li > a > :is(h2,div) {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.product-page-content .family-product-list > li > a {
    display: block;
    text-align: center;
    color: var(--wp-ink);
}
.product-page-content .family-product-list .ks-product-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 10px;
    object-fit: contain;
    background: white;
}
.product-page-content .family-product-list .ks-product-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-page-content .family-product-list > li > a :is(h2,.ks-card-title) {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.product-page-content .family-product-list > li > a > :is(h2,div:not(.ks-product-image)) {
    padding: 16px 5px 4px;
}
.product-page-content .family-product-list > li > a:hover > div:not(.ks-product-image),
.product-page-content .family-product-list > li > a:hover :is(h2,.ks-card-title) {
    background: transparent;
    color: var(--wp-ink);
}
.product-card-name { color: var(--wp-ink); }
.product-card-name:hover { color: var(--needle-accent-dark); }
@media (max-width: 900px) {
    .product-page-content .family-product-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
}

:is(.catalog-shop .ks-product-list,.family-product-list,#needleGrid) > li > a > :is(.ks-product-image,.cpzx_img) {
    overflow: hidden;
}
@media (any-hover: hover) {
    :is(.catalog-shop .ks-product-list,.family-product-list,#needleGrid) > li > a:is(:hover,:focus-visible) > :is(.ks-product-image,.cpzx_img) > img {
        transform: scale(1.1);
    }
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
    :is(.catalog-shop .ks-product-list,.family-product-list,#needleGrid) > li > a > :is(.ks-product-image,.cpzx_img) > img {
        transition: transform .5s ease;
    }
}

.sidebar-features { margin-top: 40px; color: var(--wp-ink); }
.sidebar-picks h2 { margin: 0 0 16px; font-size: 17px; line-height: 1.4; }
.sidebar-picks a { display: flex; align-items: center; gap: 18px; margin-block: 0 24px; font-size: 15px; line-height: 1.45; color: var(--wp-ink); }
.sidebar-picks img { flex: none; width: 82px; height: 62px; object-fit: contain; background: white; }
.sidebar-conduct { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; box-sizing: border-box; padding: clamp(24px,3vw,40px); margin-top: 40px; border-radius: 3px; background: #333; color: white; }
.sidebar-conduct::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0003,#0009), url("/assets/kingsquare/conduct-background.webp") center / cover; filter: grayscale(1); }
.sidebar-conduct img { width: 50px; height: 50px; }
.sidebar-conduct h2 { margin: 4px 0 18px; color: white; font-size: 20px; line-height: 1.4; }
.sidebar-conduct p { margin: 0; color: white; font-size: 16px; line-height: 1.65; }
@media (max-width: 760px) {
    .product-sidebar-column { display: contents; }
    .product-page-layout .sidebar-features { order: 2; margin-top: 0; }
}
@media (max-width: 740px) {
    .catalog-layout .catalog-sidebar { display: contents; }
    .catalog-layout .sidebar-features { order: 2; }
}
