/* Keep uploaded images inside their frames, including Safari on iOS. */
.sales-card .sales-image{position:relative;flex-shrink:0}.sales-card .sales-image>img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain}
@media(max-width:800px){
 .hero-content,.hero-carousel,.category-card,.sales-card,.product-detail>div,.company-overview>div,.contact-panel,.category-guide>div{min-width:0}
 .hero-banner .hero-carousel{height:clamp(292px,calc(56.25vw + 112px),550px)}
 .hero-banner .hero-slide-link{inset:0 0 112px;height:auto;display:flex;align-items:center;justify-content:center}
 .hero-banner .hero-slide-image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:#101211}
 .hero-banner .hero-carousel:after{background:linear-gradient(0deg,#101211b3 0%,transparent 25%)}
 .hero-banner .art-label{bottom:58px;left:23px;right:23px;min-width:0;max-width:none;padding:9px 13px;gap:15px}
 .hero-banner .art-label strong{font-size:15px;line-height:1.4}
 .hero-banner .hero-slider-controls{left:18px;right:18px;bottom:10px}
 .detail-image>img,.feature-image>img,.article-cover{width:100%;max-width:100%;height:auto;object-fit:contain}
 .sales-content h3,.category-copy h3,.info-intro h1{overflow-wrap:break-word}
}
/* Mobile hero is one composed banner: image first, copy blended below. */
@media(max-width:800px){
 .hero-banner .hero-main{display:block;position:relative;min-height:0;isolation:isolate}
 .hero-banner .hero-content{position:relative;z-index:3;width:100%;padding:clamp(300px,47vw,400px) 30px 38px;pointer-events:none}
 .hero-banner .hero-content a{pointer-events:auto}
 .hero-banner .hero-carousel{position:absolute;inset:0 0 auto;height:clamp(300px,47vw,400px);width:100%;margin:0;z-index:1}
 .hero-banner .hero-slide-link{inset:0 0 42px;height:auto;display:block}
 .hero-banner .hero-slide-image{object-fit:cover;object-position:center 52%;background:#101211}
 .hero-banner .hero-carousel:after{background:linear-gradient(180deg,#1012110d 0%,transparent 40%,#10121185 76%,#101211 100%)}
 .hero-banner .art-label{top:16px;bottom:auto;left:22px;right:auto;max-width:calc(100% - 44px);min-width:0;padding:8px 12px;border-color:#dce2d44d;gap:20px;background:#101811c9;backdrop-filter:blur(8px)}
 .hero-banner .art-label span:first-child{font-size:0;line-height:1}
 .hero-banner .art-label strong{font-size:13px;margin:0;line-height:1.5}
 .hero-banner .art-label>span:last-child{font-size:17px}
 .hero-banner .hero-slider-controls{left:24px;right:24px;bottom:10px;justify-content:center;gap:12px}
 .hero-banner h1{font-size:clamp(34px,5.5vw,47px);line-height:1.13;margin:0;max-width:680px}
 .hero-banner .hero-content p{font-size:14px;line-height:1.8;margin-top:19px;max-width:620px}
 .hero-banner .hero-content .actions{margin-top:25px;gap:18px}
 .floating-chat{width:48px;height:48px;justify-content:center;padding:11px;border-radius:50%;right:14px;bottom:16px;box-shadow:0 4px 18px #0004}
 .floating-chat>span{display:none}.floating-chat>svg{width:26px;height:26px}
}
@media(max-width:520px){
 .hero-banner .hero-carousel{height:clamp(258px,72vw,315px)}
 .hero-banner .hero-content{padding:clamp(258px,72vw,315px) 23px 34px}
 .hero-banner h1{font-size:clamp(28px,8.3vw,35px);line-height:1.15;letter-spacing:-.04em}
 .hero-banner .hero-content p{font-size:12px;line-height:1.85;margin-top:17px}
 .hero-banner .hero-content .actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;align-items:stretch}
 .hero-banner .hero-content .button,.hero-banner .hero-content .text-link{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px 10px;font-size:11px;line-height:1.5;text-align:center}
 .hero-banner .hero-content .text-link{border:1px solid #5c6750;color:#d2ddc5;background:#192017}
 .hero-banner .hero-slider-controls{left:22px;right:22px;gap:11px;bottom:8px}
 .hero-banner .slider-arrow,.hero-banner .slider-toggle{width:30px;min-width:30px;height:30px;background:#172016d9}
 .hero-banner .slider-dots button{width:23px;height:30px}
}
/* Requested mobile order: copy first, then a large photo blended into it. */
@media(max-width:800px){
 .hero-banner .hero-main{display:flex;flex-direction:column;isolation:isolate}
 .hero-banner .hero-content{position:relative;width:100%;padding:34px 30px 26px;pointer-events:auto}
 .hero-banner .hero-carousel{position:relative;inset:auto;width:100%;height:clamp(330px,65vw,490px);margin:-12px 0 0;flex-shrink:0}
 .hero-banner .hero-slide-link{inset:0;display:block;height:100%}
 .hero-banner .hero-slide-image{width:100%;height:100%;object-fit:cover;object-position:center 58%;background:#101211}
 .hero-banner .hero-carousel:after{background:linear-gradient(180deg,#101211 0%,#101211b3 9%,#10121126 26%,transparent 45%),linear-gradient(0deg,#101211eb 0%,#10121140 24%,transparent 52%)}
 .hero-banner .art-label{top:auto;bottom:64px;left:23px;right:auto;max-width:calc(100% - 46px);padding:8px 12px}
 .hero-banner .hero-slider-controls{bottom:14px;left:23px;right:23px}
}
@media(max-width:520px){
 .hero-banner .hero-content{padding:31px 23px 22px}
 .hero-banner .hero-carousel{height:clamp(300px,84vw,365px);margin-top:-8px}
 .hero-banner .art-label{bottom:63px;left:23px;right:auto}
 .hero-banner .hero-slider-controls{bottom:13px;left:23px;right:23px}
}
@media(max-width:520px){
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:minmax(0,1fr)}
 .category-image{aspect-ratio:16/9;position:relative;background:#182018}
 .category-image>img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;transform:none}
 .category-copy{min-width:0}.category-copy>div{min-width:0}.category-copy h3{font-size:16px}
 .sales-actions>a{min-width:0}.sales-notes>span{overflow-wrap:anywhere}
 .hero-banner .hero-content .actions{gap:16px}.hero-banner .hero-content .actions .text-link{white-space:normal}
}

/* Make contextual content links identifiable without relying on hover. */
.article-text a,.product-description a{color:#ff9b62;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;overflow-wrap:anywhere}
.article-text a:hover,.product-description a:hover{color:#ffc69f;text-decoration-thickness:2px}
.article-text a:focus-visible,.product-description a:focus-visible{outline:2px solid #ff9b62;outline-offset:4px;border-radius:2px}

/* Article covers keep their full composition on desktop and mobile. */
.article-list .card-image{position:relative;aspect-ratio:16/9;overflow:hidden;background:#151a17}
.article-list .card-image img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none}
.article-list .product-card:hover .card-image img{transform:none}
