/* Jetray sitewide polish: focus, selection, anchors, touch, mobile legibility */
html{-webkit-tap-highlight-color:transparent}
::selection{background:#FFD9C2;color:#16161A}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #F26A1B!important;outline-offset:3px!important;border-radius:6px}
:where(input,select,textarea):focus{border-color:#F26A1B!important;box-shadow:0 0 0 4px rgba(242,106,27,.14)!important;outline:none}
[id]{scroll-margin-top:110px}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* press feedback */
:where(.jr-btn,.pd-cta a,.pd-cta button,.jr-ft__b,.jr-add,.jr-card__q,.jr-pg button,.in-btn,.jr-hd__cta):active{transform:scale(.97)!important;transition-duration:.08s!important}
/* consistent orange buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#F26A1B!important;color:#fff!important;border-radius:99px!important;font-family:'DM Sans',sans-serif!important;font-weight:700!important;transition:background .2s,transform .2s!important}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:#16161A!important;transform:translateY(-2px)}
/* blog / article links */
.single-post .entry-content a:not(.jr-btn):not([class*=button]){color:#D4560C;text-decoration:underline;text-decoration-color:rgba(242,106,27,.35);text-underline-offset:3px;text-decoration-thickness:1.5px;transition:color .2s,text-decoration-color .2s}
.single-post .entry-content a:not(.jr-btn):not([class*=button]):hover{color:#16161A;text-decoration-color:#F26A1B}
.single-post .entry-content img{border-radius:16px}
/* tables in articles */
.single-post .entry-content table{border-collapse:collapse;width:100%;border-radius:14px;overflow:hidden;font-size:15px}
.single-post .entry-content table th{background:#16161A;color:#fff;font-weight:700}
.single-post .entry-content table th,.single-post .entry-content table td{padding:12px 14px;border-bottom:1px solid #EFECEA}
.single-post .entry-content table tr:nth-child(even) td{background:#F7F6F5}
/* mobile legibility: no text under 12px */
@media(max-width:640px){
.jr-label,.jr-hero__reply small,.cs-rng label,.cs-num label,.cs-res small,.jr-card__tag,.jr-specs li,.pd-tiles span,.t3-tk__h,.t3-nl b,.t3-rl small,.t3-dq small,.t3-mx__h,.t3-sheet__h,.t3-pc small,.t3-sz .t3-out small,.t3-ing b,.t3x-tc dt,.t3x-tt__b dt,.t3x-sp__c small,.t3x-gc__o small,.ir-term li b,.ii-e small,.iq-f__s small,.iq-wear__k small,.hm-rs__p small,.tb-bar>div i{font-size:12px!important}
}
/* horizontal swipe rows: show a subtle fade so users know they scroll */
@media(max-width:760px){.in-trust__r{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);scroll-snap-type:x mandatory}.in-trust__r>*{scroll-snap-align:start}}

/* 404 */
.jr-404{background:#F1EFEE;padding:150px 20px 80px;font-family:'DM Sans',sans-serif}
.jr-404__w{max-width:1100px;margin:0 auto}
.jr-404__hero{background:#fff;border-radius:28px;padding:56px 48px;text-align:center}
.jr-404__code{display:inline-flex;align-items:center;gap:10px;font:700 clamp(72px,12vw,140px)/1 'DM Sans',sans-serif;color:#16161A;letter-spacing:-.04em}
.jr-404__code i{display:inline-block;width:.62em;height:.92em;border:.09em solid #16161A;border-radius:.12em;position:relative}
.jr-404__code i:before{content:'';position:absolute;top:-.2em;left:50%;width:.26em;height:.12em;background:#16161A;border-radius:.04em .04em 0 0;transform:translateX(-50%)}
.jr-404__code i:after{content:'';position:absolute;left:.08em;right:.08em;bottom:.08em;height:18%;background:#F26A1B;border-radius:.04em;animation:jr404 1.8s ease-in-out infinite}
@keyframes jr404{0%,100%{opacity:1}50%{opacity:.25}}
.jr-404__k{display:block;margin:22px 0 10px;color:#F26A1B;font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase}
.jr-404 h1{font:700 clamp(28px,3.4vw,44px)/1.15 'DM Sans',sans-serif;color:#16161A;margin:0 0 14px}
.jr-404 p{color:#55534F;font-size:17px;margin:0 auto 28px;max-width:560px}
.jr-404__s{display:flex;gap:8px;max-width:520px;margin:0 auto 22px;background:#F7F6F5;border:1.5px solid #E8E5E3;border-radius:99px;padding:6px;transition:border-color .2s,box-shadow .2s}
.jr-404__s:focus-within{border-color:#F26A1B;box-shadow:0 0 0 4px rgba(242,106,27,.14)}
.jr-404__s input{flex:1;border:0!important;background:transparent!important;padding:0 16px!important;font:500 15px 'DM Sans',sans-serif;box-shadow:none!important;min-width:0}
.jr-404__s button{border:0;border-radius:99px!important;background:#16161A!important;color:#fff!important;font:700 14px 'DM Sans',sans-serif!important;padding:12px 22px!important;cursor:pointer;transition:background .2s}
.jr-404__s button:hover{background:#F26A1B!important}
.jr-404__btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.jr-404__b{display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 24px;border-radius:99px;border:1.5px solid #16161A;color:#16161A!important;font-weight:700;text-decoration:none;transition:background .2s,color .2s,transform .2s}
.jr-404__b svg{width:18px;height:18px;transition:transform .2s}
.jr-404__b:hover{background:#16161A;color:#fff!important;transform:translateY(-2px)}
.jr-404__b--o{background:#F26A1B;border-color:#F26A1B;color:#fff!important}
.jr-404__b--o:hover{background:#16161A;border-color:#16161A}.jr-404__b--o:hover svg{transform:translateX(4px)}
.jr-404__g{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.jr-404__g a{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:20px;padding:24px 26px;text-decoration:none;position:relative;border:1.5px solid transparent;transition:transform .25s,border-color .25s,box-shadow .25s}
.jr-404__g b{color:#16161A;font-size:17px}.jr-404__g span{color:#8C8A86;font-size:14px}
.jr-404__g em{position:absolute;right:22px;top:50%;width:36px;height:36px;border-radius:50%;background:#F7F6F5;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);transition:background .25s,color .25s;color:#16161A}
.jr-404__g em svg{width:16px;height:16px}
.jr-404__g a:hover{transform:translateY(-4px);border-color:#F26A1B;box-shadow:0 14px 30px rgba(22,22,26,.08)}
.jr-404__g a:hover em{background:#F26A1B;color:#fff}
@media(max-width:860px){.jr-404__g{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.jr-404{padding:110px 14px 56px}.jr-404__hero{padding:40px 20px;border-radius:22px}.jr-404__g{grid-template-columns:1fr}.jr-404__s button{padding:12px 16px!important}}

.jr-404{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:0;padding-top:64px!important;box-sizing:border-box}
.error404 #primary,.error404 .site-content>.ast-container{max-width:none;padding:0;margin:0;width:100%}
.error404 .site-content{background:#F1EFEE}
.jr-404__g a{padding-right:72px}
@media(max-width:560px){.jr-404{padding-top:40px!important}}

/* scroll to top: brand colours, clear of chat launcher */
#ast-scroll-top{background:#16161A!important;color:#fff!important;width:44px!important;height:44px!important;border-radius:14px!important;line-height:44px!important;box-shadow:0 10px 24px rgba(22,22,26,.18);right:24px!important;bottom:104px!important;transition:background .2s,transform .2s!important}
#ast-scroll-top:hover{background:#F26A1B!important;transform:translateY(-3px)}
#ast-scroll-top svg,#ast-scroll-top .ast-icon{fill:#fff!important;color:#fff!important}
html.jri-has #ast-scroll-top{bottom:176px!important}
@media(max-width:640px){#ast-scroll-top{right:14px!important;bottom:88px!important;width:40px!important;height:40px!important;line-height:40px!important}}

/* search & archive results */
.search .site-content,.archive:not(.woocommerce) .site-content{background:#F1EFEE}
.search .ast-archive-description,.archive:not(.woocommerce) .ast-archive-description{background:#fff;border-radius:24px;padding:36px 40px!important;margin-bottom:24px;border:0!important}
.search .ast-archive-description .page-title,.archive .ast-archive-description .page-title{font:700 clamp(26px,3vw,38px)/1.2 'DM Sans',sans-serif!important;color:#16161A!important}
.search .ast-archive-description .page-title span,.search .page-title strong{color:#F26A1B}
.search article.ast-article-post>.ast-article-inner,.search .ast-article-post .post-content,.archive:not(.woocommerce) article.ast-article-post>.ast-article-inner{background:#fff!important;border-radius:20px!important;border:1.5px solid transparent!important;box-shadow:none!important;transition:transform .25s,border-color .25s,box-shadow .25s;overflow:hidden;height:100%}
.search article.ast-article-post:hover>.ast-article-inner,.archive:not(.woocommerce) article.ast-article-post:hover>.ast-article-inner{transform:translateY(-4px);border-color:#F26A1B!important;box-shadow:0 14px 30px rgba(22,22,26,.08)!important}
.search .entry-title a,.archive:not(.woocommerce) .entry-title a{color:#16161A!important;font-family:'DM Sans',sans-serif!important;font-weight:700!important;transition:color .2s}
.search .entry-title a:hover,.archive:not(.woocommerce) .entry-title a:hover{color:#F26A1B!important}
.search .ast-taxonomy-container a,.search .cat-links a,.archive .cat-links a{color:#F26A1B!important;font-weight:700;font-size:12.5px;text-transform:uppercase;letter-spacing:.06em}
.search .entry-meta,.search .entry-meta a,.archive .entry-meta,.archive .entry-meta a{color:#8C8A86!important;font-size:13px}
.search .ast-excerpt-container,.archive .ast-excerpt-container{color:#55534F;font-size:15px}
.search .ast-pagination a,.search .ast-pagination span,.archive .ast-pagination a,.archive .ast-pagination span{border-radius:12px!important;min-width:44px;height:44px;line-height:44px;border:1.5px solid #E4E0DE;background:#fff;color:#16161A;font-weight:700}
.search .ast-pagination .current,.archive .ast-pagination .current{background:#F26A1B!important;border-color:#F26A1B;color:#fff!important}
.search .ast-pagination a:hover,.archive .ast-pagination a:hover{border-color:#F26A1B;color:#F26A1B}
.search .post-thumb-img-content img,.archive .post-thumb-img-content img{transition:transform .5s}
.search article:hover .post-thumb-img-content img,.archive article:hover .post-thumb-img-content img{transform:scale(1.05)}
