/* SECURIX Product Page v1 — product-only layout layer.
   Intentionally plain CSS so this patch does not depend on rebuilding Tailwind on production. */
.sx-search-glass{
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(248,249,250,.58))!important;
  border-color:rgba(255,255,255,.92)!important;
  box-shadow:0 8px 24px rgba(17,24,39,.065),inset 0 1px 0 rgba(255,255,255,.96)!important;
  -webkit-backdrop-filter:blur(14px) saturate(125%);backdrop-filter:blur(14px) saturate(125%);
}
.sx-product-page{isolation:isolate}
.sx-product-shell{max-width:1400px}
.sx-product-hero{display:grid;gap:12px;align-items:start}
.sx-product-gallery,.sx-buy-panel,.sx-service-aside>section,.sx-feature-strip,.sx-content-desktop,.sx-content-mobile>details,.sx-mobile-service>article{
  background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(250,250,251,.70));
  border:1px solid rgba(255,255,255,.88);
  box-shadow:0 18px 55px rgba(20,24,32,.05),inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(13px) saturate(115%);backdrop-filter:blur(13px) saturate(115%);
}
.sx-gallery-main{background:radial-gradient(circle at 50% 38%,#fff 0,#fbfbfc 48%,#f5f6f7 100%)!important}
.sx-buy-panel{position:relative;overflow:hidden}
.sx-buy-panel:before{content:"";position:absolute;right:-100px;top:-120px;width:230px;height:230px;border-radius:999px;background:radial-gradient(circle,rgba(236,167,63,.10),transparent 68%);pointer-events:none}
.sx-features-grid>article{transition:transform .18s ease,border-color .18s ease,background .18s ease}
.sx-features-grid>article:hover{transform:translateY(-1px);border-color:rgba(236,167,63,.22);background:rgba(255,255,255,.82)}
.sx-mobile-buybar{background:rgba(255,255,255,.80)!important;-webkit-backdrop-filter:blur(16px) saturate(135%);backdrop-filter:blur(16px) saturate(135%)}
.sx-product-page summary::-webkit-details-marker{display:none}
.sx-product-page .prose-securix p{margin:.7em 0}
.sx-product-page .prose-securix ul,.sx-product-page .prose-securix ol{padding-left:1.25rem;margin:.7em 0}
.sx-product-page .prose-securix li{margin:.3em 0}
.sx-product-page .prose-securix h2,.sx-product-page .prose-securix h3{color:#17181a;font-weight:800;letter-spacing:-.02em;margin:1.1em 0 .45em}

@media (min-width:1280px){
  .sx-product-hero{grid-template-columns:minmax(0,1.12fr) minmax(360px,.82fr) 300px}
  .sx-buy-panel{position:sticky;top:92px}
  .sx-service-aside{display:grid}
}
@media (min-width:1024px){
  .sx-gallery-layout{display:grid;grid-template-columns:76px minmax(0,1fr)}
  .sx-gallery-main{min-height:560px;grid-column:2}
}
@media (max-width:1279px){
  .sx-product-hero{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr)}
  .sx-service-aside{display:none!important}
  .sx-mobile-service{display:grid!important}
}
@media (max-width:767px){
  .sx-product-page{padding-top:8px}
  .sx-product-hero{grid-template-columns:1fr;gap:8px}
  .sx-product-gallery{padding:8px;border-radius:20px}
  .sx-gallery-layout{display:block}
  .sx-gallery-main{min-height:310px;border-radius:17px;padding:18px}
  .sx-gallery-main img{max-height:285px!important;max-width:86%!important}
  .sx-buy-panel{padding:14px;border-radius:20px;position:static}
  .sx-buy-panel h1{font-size:25px!important;line-height:1.08!important}
  .sx-buy-actions{grid-template-columns:104px minmax(0,1fr)!important}
  .sx-trust-row{gap:5px!important}
  .sx-trust-row>div{padding:7px 5px!important}
  .sx-mobile-service{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .sx-feature-strip{padding:8px;border-radius:19px}
  .sx-features-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .sx-features-grid>article{min-height:72px;padding:9px!important;border-radius:14px!important}
  .sx-content-desktop{display:none!important}
  .sx-content-mobile{display:grid!important}
}
@media (max-width:390px){
  .sx-gallery-main{min-height:285px}
  .sx-gallery-main img{max-height:255px!important}
  .sx-buy-panel h1{font-size:23px!important}
  .sx-buy-actions{grid-template-columns:96px minmax(0,1fr)!important}
}

/* Critical visual rules duplicated here so the patch stays correct even when
   the server keeps the previous Tailwind build. */
.sx-product-gallery,.sx-buy-panel{border-radius:24px}
.sx-product-gallery{padding:12px}
.sx-buy-panel{padding:20px}
.sx-service-aside>section{border-radius:22px;padding:16px}
.sx-feature-strip{border-radius:22px;padding:12px}
.sx-content-desktop{border-radius:24px;padding:20px}
.sx-product-title{font-size:30px!important;line-height:1.08!important;font-weight:900;letter-spacing:-.04em}
.sx-product-price{font-size:38px!important;line-height:1!important;font-weight:900;letter-spacing:-.045em}
.sx-product-badge{background:#eca73f!important;color:#fff}
.sx-primary-cta{background:#e99b19!important;color:#fff!important;box-shadow:0 12px 28px rgba(233,155,25,.20)}
.sx-primary-cta:hover{background:#d98c0f!important}
.sx-buy-actions{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px}
.sx-trust-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.sx-mobile-service{display:none}
.sx-content-mobile{display:none}
.sx-mobile-buybar{display:none}
@media (min-width:768px){.sx-content-desktop{display:block}.sx-content-mobile{display:none!important}}
@media (max-width:767px){
  .sx-content-desktop{display:none!important}.sx-content-mobile{display:grid!important}.sx-mobile-buybar{display:flex!important}
  .sx-product-gallery{padding:8px}.sx-buy-panel{padding:14px}.sx-product-title{font-size:24px!important}.sx-product-price{font-size:34px!important}
}
@media (min-width:768px) and (max-width:1279px){.sx-mobile-service{display:grid!important}}
@media (max-width:767px){.sx-mobile-service{display:grid!important}}

/* SECURIX Product Page v2 refinements */
.sx-product-page{padding-bottom:88px}
.sx-product-hero{gap:16px}
.sx-product-gallery,.sx-buy-panel,.sx-service-aside>section,.sx-feature-strip,.sx-content-desktop,.sx-content-mobile>details,.sx-mobile-service>article{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,249,250,.82));
  border:1px solid rgba(230,233,237,.92);
  box-shadow:0 12px 40px rgba(20,24,32,.05), inset 0 1px 0 rgba(255,255,255,.95);
}
.sx-gallery-main{border:1px solid rgba(230,233,237,.9)!important}
.sx-feature-strip{padding:14px}
.sx-features-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sx-features-grid>article{min-height:88px;align-items:flex-start;border-color:rgba(229,232,236,.95)!important;background:#fff!important;box-shadow:0 8px 24px rgba(20,24,32,.035)!important}
.sx-features-grid>article strong{font-size:12px!important;line-height:1.15!important}
.sx-features-grid>article span:last-child{font-size:11px!important;line-height:1.25!important;color:#7b8190!important}
.sx-content-desktop{display:none}
.sx-content-mobile{display:grid;gap:10px}
.sx-content-mobile>details{overflow:hidden}
.sx-content-mobile>details>summary{padding:16px 18px;font-size:15px;font-weight:900;list-style:none}
.sx-content-mobile>details>div{padding:16px 18px}
.sx-content-mobile .prose-securix{font-size:15px;line-height:1.8}
.sx-content-desktop [data-tab]{transition:all .16s ease}
.sx-content-desktop [data-tab]:not(.is-active){background:transparent;color:#525866}
.sx-content-desktop [data-tab]:not(.is-active):hover{background:#f7f8f9}
.sx-mobile-service{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sx-mobile-service>article{padding:14px}
.sx-trust-row>div{border-radius:14px}
@media (min-width:768px){
  .sx-content-desktop{display:block!important}
  .sx-content-mobile{display:none!important}
  .sx-features-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}
@media (min-width:1280px){
  .sx-features-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .sx-features-grid>article{min-height:112px}
  .sx-content-desktop .sx-tabs-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}
}
@media (max-width:767px){
  .sx-product-page{padding-bottom:100px}
  .sx-product-shell{width:calc(100% - 14px)!important}
  .sx-product-gallery,.sx-buy-panel,.sx-feature-strip{border-radius:22px!important}
  .sx-gallery-main{min-height:290px!important;padding:18px 16px 28px!important}
  .sx-gallery-main img{max-height:250px!important;max-width:88%!important}
  .sx-buy-panel{padding:16px!important;margin-top:-2px}
  .sx-product-title{font-size:23px!important;line-height:1.08!important}
  .sx-buy-actions{grid-template-columns:96px minmax(0,1fr)!important}
  .sx-feature-strip{padding:10px!important}
  .sx-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .sx-features-grid>article{min-height:78px;padding:10px!important;border-radius:16px!important}
  .sx-mobile-service{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .sx-mobile-service>article{padding:12px!important}
  .sx-content-mobile>details{border-radius:18px!important}
  .sx-content-mobile>details>summary{padding:15px 16px;font-size:15px}
  .sx-content-mobile>details>div{padding:14px 16px}
  .sx-trust-row{grid-template-columns:1fr 1fr 1fr!important;gap:6px!important}
}

/* v3: stable semantic fixes — do not depend on a Tailwind rebuild */
.sx-brand-logo{display:block;width:auto!important;height:28px!important;max-width:94px!important;object-fit:contain}
.sx-category-pill{display:inline-flex;align-items:center;white-space:nowrap}
.sx-product-highlights{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.sx-product-highlights>div{min-width:0}
.sx-qty-control{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;height:48px!important;align-items:stretch}
.sx-qty-control>button,.sx-qty-control>input{min-width:0;height:100%}
.sx-qty-control>button{display:grid;place-items:center}
.sx-qty-control>input{display:block;text-align:center}
.sx-trust-row>div{border:1px solid #e5e7eb!important;box-shadow:0 6px 18px rgba(20,24,32,.03)!important}
.sx-spec-row{display:grid!important;grid-template-columns:minmax(190px,240px) minmax(0,1fr)!important;column-gap:24px!important;align-items:start}
.sx-content-desktop [data-tab]{border:0}
.sx-content-desktop [data-tab].is-active{background:#fff3df!important;color:#b87818!important;font-weight:900!important}
.sx-content-desktop [data-tab]:not(.is-active){background:transparent!important;color:#525866!important;font-weight:700!important}

@media (max-width:767px){
  .sx-utility-bar{display:none!important}
  [data-header]{padding-top:6px!important}
  [data-sticky-row]{margin-top:0!important;border-radius:18px!important;padding:8px!important;box-shadow:0 10px 28px rgba(17,24,39,.055)!important}
  .sx-brand-logo{height:22px!important;max-width:74px!important}
  .sx-product-highlights{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding-top:12px!important;padding-bottom:12px!important}
  .sx-product-highlights>div{gap:7px!important}
  .sx-product-highlights>div>span{width:25px!important;height:25px!important}
  .sx-product-highlights strong{font-size:11px!important;line-height:1.25!important}
  .sx-product-highlights .block.truncate{font-size:10px!important}
  .sx-buy-panel>div:first-child{align-items:center!important}
  .sx-buy-panel .sx-category-pill{font-size:10px!important;padding:6px 10px!important}
  .sx-product-title{font-size:22px!important;line-height:1.08!important;margin-top:10px!important}
  .sx-product-price{font-size:33px!important}
  .sx-buy-actions{grid-template-columns:94px minmax(0,1fr)!important}
  .sx-qty-control{grid-template-columns:30px minmax(0,1fr) 30px!important;height:46px!important}
  .sx-trust-row>div{padding:7px 4px!important;border-radius:13px!important}
  .sx-mobile-service{margin-top:8px!important}
  .sx-feature-strip{margin-top:8px!important}
  .sx-features-grid>article{min-height:68px!important;padding:9px!important}
  .sx-features-grid>article>span{width:32px!important;height:32px!important}
  .sx-features-grid>article strong{font-size:11px!important}
  .sx-features-grid>article span:last-child{font-size:10px!important}
  .sx-content-mobile{margin-top:8px!important;gap:8px!important}
  .sx-content-mobile>details>summary{min-height:54px;padding:14px 16px!important}
  .sx-content-mobile>details>div{padding:12px 16px 16px!important}
  .sx-content-mobile .prose-securix{font-size:14px!important;line-height:1.68!important}
  .sx-spec-row{grid-template-columns:1fr!important;gap:4px!important}
}


/* v4 clarity polish */
.sx-product-page{background:transparent}
.sx-product-gallery,.sx-buy-panel,.sx-service-aside>section,.sx-feature-strip,.sx-content-desktop,.sx-content-mobile>details,.sx-mobile-service>article{
  background:#fff !important;
  border:1px solid #e6e9ee !important;
  box-shadow:0 10px 28px rgba(15,23,42,.04) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.sx-product-gallery,.sx-buy-panel,.sx-service-aside>section,.sx-feature-strip,.sx-content-desktop,.sx-content-mobile>details{border-radius:24px!important}
.sx-product-gallery{padding:14px!important}
.sx-gallery-main{
  background:linear-gradient(180deg,#fff 0%,#fafbfc 100%) !important;
  border:1px solid #eaedf1 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92) !important;
}
.sx-gallery-main img{filter:none !important;drop-shadow:none !important}
.sx-gallery-hint{display:none !important}
.sx-brand-logo{height:34px!important;max-width:130px!important}
.sx-product-title{color:#111318!important;letter-spacing:-.045em!important}
.sx-product-price{color:#111318!important}
.sx-product-highlights{border-top:1px solid #eceff3!important;border-bottom:1px solid #eceff3!important}
.sx-product-highlights strong{font-size:13px!important;line-height:1.25!important;color:#1b1f26!important}
.sx-product-highlights .block.truncate{font-size:11px!important;color:#8a90a0!important}
.sx-product-highlights>div>span{background:#fff7e8!important;color:#c8881a!important}
.sx-buy-actions{gap:10px!important}
.sx-qty-control,.sx-buy-panel>button,.sx-trust-row>div,.sx-buy-panel .mt-3.flex.items-center.justify-between{
  border-color:#dfe4ea !important;
  box-shadow:0 4px 12px rgba(15,23,42,.03) !important;
}
.sx-qty-control{background:#fff!important;border-radius:16px!important}
.sx-qty-control>button{color:#2d3138!important}
.sx-qty-control>button:hover{background:#f7f8fa!important}
.sx-primary-cta{border:1px solid rgba(217,140,15,.18)!important;box-shadow:0 10px 22px rgba(233,155,25,.16)!important}
.sx-buy-panel>button{background:#fff!important;color:#4f5564!important;border-radius:16px!important}
.sx-buy-panel>button:hover{border-color:#d0d7df!important;color:#111318!important}
.sx-trust-row>div{background:#fff!important;border-radius:16px!important}
.sx-trust-row strong{font-size:11px!important;line-height:1.2!important;color:#232833!important}
.sx-trust-row span.mx-auto{background:#fff8ea!important;color:#c8881a!important}
.sx-buy-panel .mt-3.flex.items-center.justify-between{background:#fff!important;border-radius:18px!important;padding:14px 16px!important}
.sx-buy-panel .mt-3.flex.items-center.justify-between a{background:#14171d!important;border-radius:14px!important;padding:11px 18px!important}
.sx-service-aside>section strong,.sx-mobile-service strong,.sx-features-grid strong{color:#1a1e25!important}
.sx-service-aside>section p,.sx-service-aside>section span,.sx-mobile-service span,.sx-features-grid span:last-child{color:#8a91a0!important}
.sx-service-aside>section span.grid,.sx-mobile-service span.grid,.sx-features-grid>article>span{background:#fff8ea!important;color:#c8881a!important;border:1px solid #f1dfbc !important;box-shadow:none!important}
.sx-features-grid>article{
  background:#fff!important;
  border:1px solid #e7ebef !important;
  box-shadow:none!important;
  border-radius:18px!important;
}
.sx-features-grid>article:hover{transform:none!important;border-color:#dde2e8!important;background:#fff!important}
.sx-features-grid>article strong{font-size:14px!important;line-height:1.2!important}
.sx-features-grid>article span:last-child{font-size:12px!important;line-height:1.3!important}
.sx-content-desktop{padding:22px!important}
.sx-content-desktop [data-tab]{border-radius:16px!important;padding:14px 16px!important}
.sx-content-desktop .sx-tabs-layout{gap:24px!important}
.sx-content-desktop .prose-securix{font-size:17px!important;line-height:1.9!important;color:#4d5360!important}
.sx-content-desktop .prose-securix strong,.sx-content-mobile .prose-securix strong{color:#262b34!important}
.sx-content-desktop .prose-securix h2,.sx-content-desktop .prose-securix h3,.sx-content-mobile .prose-securix h2,.sx-content-mobile .prose-securix h3{color:#16191f!important}
.sx-spec-row{padding:13px 18px!important;border-bottom:1px solid #f0f2f5}
.sx-spec-row:last-child{border-bottom:0}
.sx-spec-row span{color:#8d94a3!important}
.sx-spec-row strong{color:#1f2430!important}
@media (min-width:768px){
  .sx-buy-panel{padding:22px!important}
  .sx-product-highlights{padding-top:16px!important;padding-bottom:16px!important}
  .sx-buy-panel .mt-3.flex.items-center.justify-between{margin-top:16px!important}
}
@media (max-width:767px){
  .sx-product-gallery,.sx-buy-panel,.sx-feature-strip,.sx-content-mobile>details,.sx-mobile-service>article{border-radius:22px!important}
  .sx-brand-logo{height:28px!important;max-width:100px!important}
  .sx-product-title{font-size:22px!important;line-height:1.08!important}
  .sx-product-highlights strong{font-size:12px!important}
  .sx-product-highlights .block.truncate{font-size:10px!important}
  .sx-buy-actions{gap:8px!important}
  .sx-trust-row>div{padding:10px 6px!important}
  .sx-feature-strip{padding:12px!important}
  .sx-features-grid>article{min-height:96px!important;padding:12px!important}
  .sx-features-grid>article strong{font-size:13px!important}
  .sx-features-grid>article span:last-child{font-size:11px!important}
  .sx-content-mobile>details>summary{font-size:16px!important;color:#171a21!important}
  .sx-content-mobile .prose-securix{font-size:15px!important;line-height:1.82!important;color:#515663!important}
}


/* v5 unified premium layout */
.sx-product-shell{max-width:1420px!important}
.sx-product-hero{position:relative}
@media (min-width:1280px){
  .sx-product-hero{
    gap:0!important;
    background:#fff!important;
    border:1px solid #e7ebef!important;
    border-radius:30px!important;
    padding:18px!important;
    box-shadow:0 18px 44px rgba(15,23,42,.045)!important;
  }
  .sx-product-gallery,
  .sx-buy-panel,
  .sx-service-aside>section{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  .sx-product-gallery{padding:0 16px 0 0!important;border-right:1px solid #edf1f4!important;border-radius:0!important}
  .sx-buy-panel{padding:8px 20px!important;border-radius:0!important}
  .sx-service-aside{padding-left:16px!important;border-left:1px solid #edf1f4!important;gap:8px!important}
  .sx-service-aside>section{padding:12px 10px!important;border-radius:0!important}
  .sx-service-aside>section+section{border-top:1px solid #edf1f4!important}
  .sx-gallery-main{border:0!important;box-shadow:none!important;background:#fff!important;border-radius:22px!important}
  .sx-gallery-layout{gap:14px!important}
  .sx-product-badge{left:auto!important;right:18px!important;top:16px!important}
  .sx-product-highlights{border-top:1px solid #eef1f4!important;border-bottom:1px solid #eef1f4!important}
}

@media (min-width:1024px){
  .sx-feature-strip{
    background:#fff!important;
    border:1px solid #e7ebef!important;
    border-radius:24px!important;
    padding:0!important;
    overflow:hidden!important;
    box-shadow:0 12px 30px rgba(15,23,42,.035)!important;
  }
  .sx-features-grid{gap:0!important;grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .sx-features-grid>article{
    background:transparent!important;
    border:0!important;
    border-right:1px solid #edf1f4!important;
    border-radius:0!important;
    min-height:108px!important;
    padding:18px 16px!important;
    box-shadow:none!important;
  }
  .sx-features-grid>article:last-child{border-right:0!important}
}

.sx-content-desktop{
  background:#fff!important;
  border:1px solid #e7ebef!important;
  border-radius:24px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.035)!important;
}
.sx-content-desktop .sx-tabs-layout{gap:28px!important}
.sx-content-desktop [role="tablist"]{padding-top:4px!important}
.sx-content-desktop [data-tab]{
  border-radius:0!important;
  background:transparent!important;
  border-bottom:1px solid #eef1f4!important;
  padding:15px 12px 15px 16px!important;
}
.sx-content-desktop [data-tab].is-active{
  background:#fff8ec!important;
  color:#b87818!important;
  box-shadow:inset 3px 0 0 #e6a33a!important;
  border-radius:14px!important;
  border-bottom-color:transparent!important;
}
.sx-content-desktop [data-tab]:not(.is-active){color:#4b5565!important}
.sx-content-desktop [data-tab]:not(.is-active):hover{background:#fafbfc!important;border-radius:14px!important}
.sx-content-desktop .prose-securix{max-width:none!important}
.sx-content-desktop [data-tab-panel="specs"] .mt-3.overflow-hidden.rounded-2xl{border-color:#edf1f4!important;border-radius:20px!important}

@media (max-width:767px){
  .sx-buy-panel{padding:18px!important}
  .sx-feature-strip{padding:10px!important}
  .sx-content-mobile>details{background:#fff!important;border-color:#e7ebef!important;box-shadow:0 10px 28px rgba(15,23,42,.03)!important}
}


/* v6 feature strip polish */
.sx-mobile-service>article,
.sx-features-grid>article{overflow:hidden}

@media (min-width:768px){
  .sx-mobile-service{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .sx-mobile-service>article{
    min-height:86px!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    padding:16px 18px!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%)!important;
    border:1px solid #e8ecf0!important;
    box-shadow:0 10px 28px rgba(15,23,42,.035)!important;
  }
  .sx-mobile-service>article .grid{
    width:48px!important;height:48px!important;border-radius:16px!important;
    background:#fff7e8!important;border:1px solid #f3dfb2!important;color:#c8881a!important;
  }
  .sx-mobile-service>article strong{font-size:15px!important;line-height:1.15!important;font-weight:800!important}
  .sx-mobile-service>article span:not(.grid){font-size:13px!important;line-height:1.35!important;color:#8a91a0!important}
}

@media (min-width:1024px){
  .sx-feature-strip{
    padding:0!important;
    border-radius:26px!important;
    background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%)!important;
    border:1px solid #e8ecf0!important;
    box-shadow:0 10px 28px rgba(15,23,42,.035)!important;
  }
  .sx-features-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:0!important;
  }
  .sx-features-grid>article{
    min-height:92px!important;
    padding:16px 18px!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:14px!important;
    background:transparent!important;
    border:0!important;
    border-right:1px solid #edf1f4!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .sx-features-grid>article:last-child{border-right:0!important}
  .sx-features-grid>article>span{
    width:44px!important;height:44px!important;flex:0 0 44px!important;
    border-radius:999px!important;
    background:#fff7e8!important;
    border:1px solid #f3dfb2!important;
    color:#c8881a!important;
  }
  .sx-features-grid>article>span svg{width:20px!important;height:20px!important}
  .sx-features-grid>article strong{
    font-size:15px!important;
    line-height:1.15!important;
    font-weight:800!important;
    color:#171b22!important;
    margin-top:1px!important;
  }
  .sx-features-grid>article span:last-child{
    font-size:13px!important;
    line-height:1.35!important;
    color:#8a91a0!important;
    margin-top:4px!important;
  }
}

@media (max-width:1023px){
  .sx-feature-strip{padding:12px!important}
  .sx-features-grid{gap:10px!important}
  .sx-features-grid>article{
    min-height:84px!important;
    border-radius:18px!important;
    padding:12px 13px!important;
    background:#fff!important;
    border:1px solid #e8ecf0!important;
    box-shadow:0 6px 18px rgba(15,23,42,.03)!important;
  }
  .sx-features-grid>article>span{
    width:38px!important;height:38px!important;
    background:#fff7e8!important;border:1px solid #f3dfb2!important;color:#c8881a!important;
  }
  .sx-features-grid>article strong{font-size:13px!important;line-height:1.15!important}
  .sx-features-grid>article span:last-child{font-size:11px!important;line-height:1.3!important}
}

/* v7 gallery + mobile reveal */
.sx-gallery-thumbs{scrollbar-width:none}
.sx-gallery-thumbs::-webkit-scrollbar{display:none}
.sx-gallery-thumb{
  border:1px solid #e6e9ee!important;
  background:#fff!important;
  box-shadow:none!important;
  opacity:.82;
  transition:border-color .16s ease,opacity .16s ease,transform .16s ease;
}
.sx-gallery-thumb:hover{opacity:1;border-color:#d9dde3!important}
.sx-gallery-thumb.is-active{
  opacity:1;
  border-color:#e99b19!important;
  box-shadow:0 0 0 2px rgba(233,155,25,.10)!important;
}
.sx-gallery-thumb img{width:100%;height:100%;object-fit:contain}
@media (min-width:1024px){
  .sx-gallery-thumbs{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    align-content:start!important;
    overflow:visible!important;
  }
  .sx-gallery-thumb{width:72px!important;height:72px!important;border-radius:15px!important;padding:6px!important}
}
@media (max-width:1023px){
  .sx-gallery-thumbs{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:2px 1px 1px!important}
  .sx-gallery-thumb{width:62px!important;height:62px!important;flex:0 0 62px!important;border-radius:14px!important;padding:5px!important}
}

.sx-mobile-reveal,.sx-mobile-downloads{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid #e7ebef;
  border-radius:22px;
  box-shadow:0 10px 28px rgba(15,23,42,.03);
  padding:18px 18px 14px;
}
.sx-mobile-reveal h2,.sx-mobile-downloads h2{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.15;
  font-weight:900;
  color:#171a21;
  letter-spacing:-.02em;
}
.sx-mobile-reveal-body{
  position:relative;
  max-height:236px;
  overflow:hidden;
  color:#555b68;
  font-size:15px;
  line-height:1.78;
  transition:max-height .32s ease;
}
.sx-mobile-specs .sx-mobile-reveal-body{max-height:292px}
.sx-mobile-reveal.is-expanded .sx-mobile-reveal-body{max-height:3000px}
.sx-mobile-reveal-fade{
  position:absolute;
  left:1px;right:1px;bottom:54px;
  height:74px;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 82%);
  transition:opacity .18s ease;
}
.sx-mobile-reveal.is-expanded .sx-mobile-reveal-fade{opacity:0}
.sx-mobile-reveal-btn{
  position:relative;
  z-index:2;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  margin-top:8px;
  border:0;
  background:transparent;
  color:#b87818;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}
.sx-mobile-reveal-btn b{font-size:15px;transition:transform .18s ease}
.sx-mobile-reveal.is-expanded .sx-mobile-reveal-btn b{transform:rotate(180deg)}
.sx-mobile-spec-list{display:grid}
.sx-mobile-spec-group{
  margin:10px 0 2px;
  padding:7px 0;
  color:#b87818;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.sx-mobile-spec-group:first-child{margin-top:0}
.sx-mobile-spec-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #f0f2f5;
  font-size:12px;
  line-height:1.35;
}
.sx-mobile-spec-row span{color:#8a91a0}
.sx-mobile-spec-row strong{color:#252a33;font-weight:750}
@media (min-width:768px){
  .sx-content-mobile{display:none!important}
}
@media (max-width:767px){
  .sx-content-mobile{display:grid!important;gap:10px!important}
}


/* v8 mobile viewport + gallery order */
@media (max-width:767px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  .sx-product-page,
  .sx-product-shell,
  .sx-product-hero,
  .sx-product-gallery,
  .sx-gallery-layout,
  .sx-gallery-main,
  .sx-gallery-thumbs,
  .sx-buy-panel,
  .sx-mobile-service,
  .sx-feature-strip,
  .sx-content-mobile{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .sx-product-shell{
    width:calc(100% - 14px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .sx-product-hero{
    display:block!important;
    width:100%!important;
  }
  .sx-product-gallery{
    width:100%!important;
    overflow:hidden!important;
  }
  .sx-gallery-layout{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    gap:10px!important;
  }
  .sx-gallery-main{
    order:1!important;
    width:100%!important;
    min-height:300px!important;
    margin:0!important;
  }
  .sx-gallery-main img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:86%!important;
    max-height:280px!important;
    margin:auto!important;
  }
  .sx-gallery-thumbs{
    order:2!important;
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    gap:8px!important;
    padding:2px 2px 4px!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }
  .sx-gallery-thumb{
    flex:0 0 64px!important;
    width:64px!important;
    height:64px!important;
  }
  .sx-buy-panel{
    width:100%!important;
    margin-top:10px!important;
  }
  [data-header],
  [data-sticky-row]{
    max-width:100vw!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}

/* v9 recovery: align product page with the 1320px site grid */
.sx-product-shell{max-width:1320px!important}

/* Product gallery: main image is clickable and opens a real lightbox. */
.sx-main-image-zoomable{cursor:zoom-in!important}
.sx-lightbox-lock{overflow:hidden!important}
.sx-product-lightbox{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:20px}
.sx-product-lightbox.is-open{display:flex}
.sx-lightbox-backdrop{position:absolute;inset:0;border:0;background:rgba(10,12,16,.82);backdrop-filter:blur(8px);cursor:zoom-out}
.sx-lightbox-dialog{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:min(1180px,94vw);height:min(860px,90vh);border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 30px 90px rgba(0,0,0,.32);overflow:hidden}
.sx-lightbox-image{display:block;max-width:88%;max-height:86%;width:auto;height:auto;object-fit:contain;user-select:none}
.sx-lightbox-close,.sx-lightbox-prev,.sx-lightbox-next{position:absolute;z-index:2;display:grid;place-items:center;border:1px solid #e1e4e8;background:rgba(255,255,255,.94);color:#17191d;box-shadow:0 8px 24px rgba(17,24,39,.10);cursor:pointer}
.sx-lightbox-close{right:16px;top:16px;width:44px;height:44px;border-radius:14px;font-size:30px;line-height:1}
.sx-lightbox-prev,.sx-lightbox-next{top:50%;width:46px;height:46px;margin-top:-23px;border-radius:50%;font-size:32px;line-height:1}
.sx-lightbox-prev{left:16px}.sx-lightbox-next{right:16px}
.sx-lightbox-prev.is-hidden,.sx-lightbox-next.is-hidden{display:none}
.sx-lightbox-counter{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);min-width:56px;text-align:center;font-size:12px;font-weight:800;color:#6b7280}
@media(max-width:767px){
  .sx-product-lightbox{padding:8px}
  .sx-lightbox-dialog{width:100%;height:min(82vh,720px);border-radius:20px}
  .sx-lightbox-image{max-width:92%;max-height:82%}
  .sx-lightbox-close{right:10px;top:10px;width:40px;height:40px}
  .sx-lightbox-prev,.sx-lightbox-next{width:40px;height:40px;margin-top:-20px}
  .sx-lightbox-prev{left:8px}.sx-lightbox-next{right:8px}
}

/* SECURIX Platform v1 — real documents + compatibility block */
.sx-document-link{color:inherit;text-decoration:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.sx-document-link:not(.is-disabled):hover{transform:translateY(-1px);background:#fffaf1}
.sx-document-link.is-disabled{cursor:default;opacity:.55;pointer-events:none}
.sx-document-type{display:inline-grid;min-width:38px;height:24px;place-items:center;padding:0 6px;border-radius:7px;background:#fff3df;color:#b87818;font-size:9px;font-weight:900;letter-spacing:.03em}
.sx-compatible-section{scroll-margin-top:100px}

/* Phase 2: backend-built bundle + recently viewed UI */
.sx-bundle-shell{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.92);border-radius:22px;background:rgba(255,255,255,.72);box-shadow:0 14px 45px rgba(20,24,32,.045)}
.sx-bundle-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sx-bundle-item{position:relative;display:grid;grid-template-columns:28px 72px minmax(0,1fr);align-items:center;gap:10px;min-height:96px;padding:10px;border:1px solid #eceef0;border-radius:16px;background:#fff;cursor:pointer}.sx-bundle-item>input{position:absolute;opacity:0;pointer-events:none}.sx-bundle-checkmark{display:grid;width:25px;height:25px;place-items:center;border:1px solid #d9dde2;border-radius:8px;color:transparent;background:#fff;font-size:12px;font-weight:900}.sx-bundle-item>input:checked+.sx-bundle-checkmark{border-color:#e9a12f;background:#fff3df;color:#c8790c}.sx-bundle-media{display:grid;width:72px;height:72px;place-items:center;border-radius:12px;background:#f7f8f9;overflow:hidden}.sx-bundle-media img{width:100%;height:100%;object-fit:contain}.sx-bundle-media svg{width:28px;height:28px;color:#bcc2ca}.sx-bundle-copy{min-width:0}.sx-bundle-copy small{display:block;color:#a0a5ad;font-size:9px;font-weight:750}.sx-bundle-copy strong{display:-webkit-box;margin-top:3px;overflow:hidden;color:#22262b;font-size:11px;line-height:1.35;font-weight:800;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sx-bundle-copy b{display:block;margin-top:7px;font-size:13px}.sx-bundle-summary{display:flex;flex-direction:column;justify-content:center;padding:18px;border-radius:17px;background:linear-gradient(135deg,#121a22,#0b1117);color:#fff}.sx-bundle-summary>span{font-size:10px;color:#aeb6c0}.sx-bundle-summary>strong{margin-top:4px;font-size:27px;letter-spacing:-.04em}.sx-bundle-summary>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;margin-top:14px;border:0;border-radius:11px;background:#f5a000;color:#141414;font-size:11px;font-weight:900;cursor:pointer}.sx-bundle-summary>button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.sx-bundle-summary>small{margin-top:8px;color:#87919d;font-size:9px;line-height:1.45}
.sx-recent-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.sx-recent-card{position:relative;min-width:0;padding:9px;border:1px solid rgba(255,255,255,.95);border-radius:17px;background:rgba(255,255,255,.76);box-shadow:0 10px 32px rgba(20,24,32,.045)}.sx-recent-media{display:grid;aspect-ratio:1.2/1;place-items:center;border-radius:12px;background:#f7f8f9;overflow:hidden}.sx-recent-media img{width:100%;height:100%;object-fit:contain}.sx-recent-copy small{display:block;margin-top:8px;color:#a0a5ad;font-size:8.5px;font-weight:750}.sx-recent-copy>a{display:-webkit-box;min-height:34px;margin-top:3px;overflow:hidden;color:#282c31;text-decoration:none;font-size:10px;line-height:1.35;font-weight:800;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sx-recent-copy>span{display:block;margin-top:5px;color:#7c858f;font-size:8.5px}.sx-recent-copy>strong{display:block;margin-top:5px;font-size:13px}.sx-recent-card>button{position:absolute;right:9px;bottom:9px;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:9px;background:#151a20;color:#fff;font-size:18px;cursor:pointer}
@media(max-width:1023px){.sx-bundle-shell{grid-template-columns:1fr}.sx-bundle-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px}.sx-bundle-summary>button{grid-column:2;grid-row:1/3;margin:0;min-width:190px}.sx-bundle-summary>small{grid-column:1/3}.sx-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:639px){.sx-bundle-shell{padding:8px;border-radius:18px}.sx-bundle-products{grid-template-columns:1fr}.sx-bundle-item{grid-template-columns:26px 64px minmax(0,1fr);min-height:82px;padding:8px}.sx-bundle-media{width:64px;height:64px}.sx-bundle-summary{display:flex}.sx-bundle-summary>button{min-width:0;margin-top:12px}.sx-recent-grid{display:flex;gap:8px;overflow-x:auto;padding:0 1px 5px;scroll-snap-type:x proximity}.sx-recent-card{flex:0 0 154px;scroll-snap-align:start}}

/* v32 inline description media — CRM stores rich description images/videos. */
.sx-product-page .prose-securix img,
.sx-product-page .prose-securix video{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  margin:16px auto;
  border-radius:16px;
  object-fit:contain;
}
.sx-product-page .prose-securix video{width:100%;background:#111}
.sx-product-page .prose-securix figure{max-width:100%;margin:16px 0}
.sx-product-page .prose-securix figure img,.sx-product-page .prose-securix figure video{margin:0 auto}
@media(max-width:820px){
  .sx-product-page .prose-securix img,
  .sx-product-page .prose-securix video{margin:12px auto;border-radius:12px}
}

/* v33.1 — CRM-managed product variants (colour/function/size/etc.) */
.sx-product-variants{display:grid;gap:10px;padding:12px;border:1px solid rgba(229,231,235,.9);border-radius:16px;background:rgba(255,255,255,.58)}
.sx-variant-group{display:grid;gap:6px}.sx-variant-label{font-size:10px;font-weight:850;color:#8b9199;text-transform:uppercase;letter-spacing:.05em}.sx-variant-values{display:flex;flex-wrap:wrap;gap:6px}
.sx-variant-choice{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid #dfe3e8;border-radius:10px;background:rgba(255,255,255,.88);color:#3a3f45;font-size:11px;font-weight:800;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}
.sx-variant-choice:hover:not(:disabled){border-color:#eca73f;transform:translateY(-1px)}.sx-variant-choice.is-active{border-color:#eca73f;background:#fff4e2;color:#a9670f;box-shadow:0 0 0 2px rgba(236,167,63,.08)}.sx-variant-choice.is-unavailable,.sx-variant-choice:disabled{opacity:.38;cursor:not-allowed;text-decoration:line-through}
.sx-variant-swatch{width:14px;height:14px;border-radius:50%;background:var(--sx-variant-color);border:2px solid #fff;box-shadow:0 0 0 1px rgba(20,24,32,.18);flex:0 0 auto}
@media(max-width:639px){.sx-product-variants{padding:10px;border-radius:14px}.sx-variant-choice{min-height:32px;padding:5px 9px;font-size:10.5px}}


/* v35 adaptive product video layout */
.sx-product-video-slide{
  display:grid!important;
  place-items:center!important;
  padding:20px!important;
}
.sx-product-video-slide video,
.sx-product-video-slide iframe{
  display:block;
  width:min(100%,760px);
  max-width:100%;
  height:auto;
  max-height:520px;
  margin:auto;
  border:0;
  border-radius:22px;
  background:#0f1115;
  object-fit:contain;
  aspect-ratio:16 / 9;
  box-shadow:0 16px 38px rgba(15,23,42,.12);
}
.sx-product-video-slide.is-landscape video,
.sx-product-video-slide.is-landscape iframe{
  width:min(100%,760px);
  max-height:520px;
  aspect-ratio:16 / 9;
}
.sx-product-video-slide.is-portrait video,
.sx-product-video-slide.is-portrait iframe{
  width:min(100%,340px);
  height:min(72vh,560px);
  max-height:560px;
  aspect-ratio:9 / 16;
}
.sx-product-video-slide.is-square video,
.sx-product-video-slide.is-square iframe{
  width:min(100%,460px);
  max-height:460px;
  aspect-ratio:1 / 1;
}
@media (min-width:1280px){
  .sx-product-video-slide.is-landscape video,
  .sx-product-video-slide.is-landscape iframe{
    width:min(100%,860px);
    max-height:560px;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    width:min(100%,380px);
    height:min(74vh,620px);
    max-height:620px;
  }
  .sx-product-video-slide.is-square video,
  .sx-product-video-slide.is-square iframe{
    width:min(100%,520px);
    max-height:520px;
  }
}
@media (max-width:767px){
  .sx-product-video-slide{
    padding:12px!important;
  }
  .sx-product-video-slide video,
  .sx-product-video-slide iframe{
    width:100%;
    max-width:100%;
    max-height:280px;
    border-radius:18px;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    width:min(100%,270px);
    height:min(60vh,430px);
    max-height:430px;
  }
  .sx-product-video-slide.is-square video,
  .sx-product-video-slide.is-square iframe{
    width:min(100%,320px);
    max-height:320px;
  }
}
.sx-product-lightbox .sx-product-video-slide{
  padding:28px!important;
}
.sx-product-lightbox .sx-product-video-slide video,
.sx-product-lightbox .sx-product-video-slide iframe{
  width:min(100%,1180px);
  max-height:78vh;
  border-radius:20px;
}
.sx-product-lightbox .sx-product-video-slide.is-portrait video,
.sx-product-lightbox .sx-product-video-slide.is-portrait iframe{
  width:min(100%,440px);
  height:min(82vh,860px);
  max-height:82vh;
}
.sx-product-lightbox .sx-product-video-slide.is-square video,
.sx-product-lightbox .sx-product-video-slide.is-square iframe{
  width:min(100%,720px);
  max-height:78vh;
}


/* Product refinement vFinal: same SECURIX concept, fewer duplicates and better content flow. */
@media (min-width:1280px){
  .sx-gallery-main{min-height:500px!important}
  .sx-product-media-slide[data-media-kind="image"] img{max-height:440px!important;max-width:92%!important}
  .sx-trust-row{display:none!important}
  .sx-mobile-service{display:none!important}
}
@media (min-width:768px) and (max-width:1279px){.sx-mobile-service{display:none!important}}
@media (max-width:767px){.sx-mobile-service{display:grid!important}}
.sx-product-bundle{scroll-margin-top:104px}
.sx-product-bundle .sx-bundle-shell{background:#fff!important;border:1px solid #e7ebef!important;box-shadow:0 12px 30px rgba(15,23,42,.035)!important}
.sx-product-bundle .sx-bundle-item{min-height:86px!important}
.sx-feature-strip{margin-top:14px!important}
.sx-content-desktop .sx-tabs-layout{align-items:start!important;gap:22px!important}
.sx-content-desktop [data-tab-panel="description"]>.prose-securix{max-width:860px!important;font-size:16px!important;line-height:1.72!important;color:#505765!important}
.sx-content-desktop .prose-securix p{margin:.62em 0!important}
.sx-content-desktop .prose-securix h2{font-size:22px!important;line-height:1.25!important;margin:1.35em 0 .5em!important}
.sx-content-desktop .prose-securix h3{font-size:18px!important;line-height:1.3!important;margin:1.2em 0 .45em!important}
.sx-similar-rail{position:sticky;top:96px;border-left:1px solid #edf0f3;padding-left:18px;min-width:0}
.sx-similar-list{display:grid;gap:8px}.sx-similar-row{display:grid;grid-template-columns:62px minmax(0,1fr) 32px;align-items:center;gap:9px;padding:8px;border:1px solid #e8ebef;border-radius:15px;background:#fff}.sx-similar-media{display:grid;width:62px;height:62px;place-items:center;overflow:hidden;border-radius:11px;background:#f7f8f9}.sx-similar-media img{width:100%;height:100%;object-fit:contain}.sx-similar-copy{min-width:0}.sx-similar-copy>a{display:-webkit-box;overflow:hidden;color:#2b3038;text-decoration:none;font-size:10.5px;line-height:1.35;font-weight:800;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sx-similar-copy>strong{display:block;margin-top:5px;font-size:13px;color:#15181e}.sx-similar-row>button{display:grid;width:30px;height:30px;place-items:center;border:1px solid #f0d7aa;border-radius:9px;background:#fff8ea;color:#c47c0b;font-size:18px;cursor:pointer}
.sx-product-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sx-product-article-card{display:block;overflow:hidden;border:1px solid #e7ebef;border-radius:16px;background:#fff;color:inherit;text-decoration:none;transition:.16s}.sx-product-article-card:hover{transform:translateY(-1px);border-color:#ead1a1;box-shadow:0 10px 24px rgba(15,23,42,.045)}.sx-product-article-media{display:grid;aspect-ratio:16/9;place-items:center;overflow:hidden;background:#f4f6f8}.sx-product-article-media img{width:100%;height:100%;object-fit:cover}.sx-product-article-copy{display:block;padding:11px}.sx-product-article-copy small{display:block;color:#b87818;font-size:9px;font-weight:900;text-transform:uppercase}.sx-product-article-copy strong{display:-webkit-box;margin-top:5px;overflow:hidden;color:#20242b;font-size:12px;line-height:1.4;font-weight:850;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sx-product-article-copy span{display:-webkit-box;margin-top:6px;overflow:hidden;color:#7f8794;font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sx-product-article-copy b{display:block;margin-top:8px;color:#b87818;font-size:9.5px}
.sx-recent-grid{display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;gap:10px!important;overflow-x:auto!important;padding:2px 2px 8px!important;scroll-snap-type:x proximity}.sx-recent-card{scroll-snap-align:start;padding:10px 10px 12px!important}.sx-recent-copy>a{min-height:42px!important;font-size:11px!important;line-height:1.38!important;-webkit-line-clamp:3!important}.sx-recent-copy>strong{font-size:14px!important;padding-right:38px}@media (min-width:1280px){.sx-recent-grid{grid-auto-columns:calc((100% - 40px)/5)!important}.sx-recent-card{min-width:0!important}}
.sx-product-bundle,.sx-feature-strip,.sx-content-desktop,.sx-compatible-section,.sx-recent-section,.sx-product-articles{scroll-margin-top:104px}
@media (max-width:1100px){.sx-content-desktop .sx-tabs-layout{grid-template-columns:170px minmax(0,1fr)!important}.sx-similar-rail{display:none!important}}
@media (max-width:767px){.sx-product-article-grid{display:flex!important;overflow-x:auto;gap:8px;padding-bottom:4px}.sx-product-article-card{flex:0 0 82%}.sx-product-article-copy span{display:none}.sx-similar-mobile{padding:14px;border:1px solid #e7ebef;border-radius:22px;background:#fff}.sx-similar-mobile .sx-similar-row{grid-template-columns:58px minmax(0,1fr);padding:7px}.sx-similar-mobile .sx-similar-row>button{display:none}.sx-recent-grid{display:flex!important}.sx-recent-card{flex:0 0 176px!important;min-width:176px!important}}

/* ============================================================
   vFINAL2 — match approved SECURIX preview without changing concept
   ============================================================ */
.sx-product-page{--sx-line:#e7ebef;--sx-soft:#f7f8fa;--sx-orange:#e99b19;--sx-orange-soft:#fff5e5;--sx-ink:#15181e}

/* Top product area: three distinct cards again, not one stretched white shell. */
@media (min-width:1280px){
  .sx-product-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1.22fr) minmax(365px,.78fr) 292px!important;
    gap:12px!important;
    align-items:start!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .sx-product-gallery,
  .sx-buy-panel,
  .sx-service-aside>section{
    background:#fff!important;
    border:1px solid var(--sx-line)!important;
    border-radius:24px!important;
    box-shadow:0 14px 38px rgba(15,23,42,.045)!important;
  }
  .sx-product-gallery{padding:12px!important;border-right:1px solid var(--sx-line)!important}
  .sx-buy-panel{padding:18px!important;position:sticky!important;top:92px!important}
  .sx-service-aside{padding:0!important;border:0!important;gap:10px!important}
  .sx-service-aside>section{padding:15px!important}
}

/* Gallery: visibly denser, product larger, empty white floor removed. */
.sx-gallery-layout{gap:10px!important}
.sx-gallery-main{
  min-height:0!important;
  height:448px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%)!important;
  overflow:hidden!important;
}
.sx-product-media-swiper,.sx-product-media-swiper>.swiper-wrapper,.sx-product-media-slide{height:100%!important}
.sx-product-media-slide{display:grid!important;place-items:center!important}
.sx-product-media-slide[data-media-kind="image"] .swiper-zoom-container{display:grid!important;width:100%!important;height:100%!important;place-items:center!important}
.sx-product-media-slide[data-media-kind="image"] picture{display:grid!important;width:100%!important;height:100%!important;place-items:center!important}
.sx-product-media-slide[data-media-kind="image"] img{
  width:auto!important;
  height:auto!important;
  max-width:96%!important;
  max-height:404px!important;
  margin:auto!important;
  object-fit:contain!important;
}
.sx-product-thumbs-swiper{max-height:448px!important}
.sx-product-thumb-slide{border-radius:14px!important;overflow:hidden!important}
.sx-product-thumb-slide button{width:70px!important;height:70px!important;border-radius:14px!important;background:#fff!important;border:1px solid #e8ebef!important}
.sx-product-thumb-slide.swiper-slide-thumb-active button{border-color:#e9a12f!important;box-shadow:0 0 0 1px rgba(233,161,47,.15)!important}

/* Explicit media chips under the gallery, as in the approved preview. */
.sx-gallery-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
  padding-left:84px;
}
.sx-gallery-meta-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:0 12px;
  border:1px solid #e4e8ed;
  border-radius:12px;
  background:#fff;
  color:#515762;
  font-size:11px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.sx-gallery-meta-chip:hover{border-color:#e7c88f;background:#fffaf2;transform:translateY(-1px)}
.sx-gallery-meta-chip>span{display:grid;place-items:center;width:18px;height:18px;color:#606772}
.sx-gallery-meta-chip>span svg{width:16px;height:16px}
.sx-gallery-meta-chip b{font-weight:850}
.sx-gallery-meta-chip small{display:grid;min-width:18px;height:18px;place-items:center;padding:0 5px;border-radius:999px;background:#f3f4f6;color:#8b919b;font-size:9px;font-weight:850}
.sx-gallery-meta-chip.is-accent{border-color:#f0d6a7;background:#fff8ec;color:#b87818}
.sx-gallery-meta-chip.is-accent small{background:#fce8c7;color:#b87818}
.sx-meta-play{font-size:10px!important;color:#b87818!important}

/* Buy panel: keep original logic but make its composition match the preview. */
.sx-buy-panel .sx-product-title{font-size:29px!important;line-height:1.05!important;margin-top:10px!important}
.sx-buy-panel .sx-product-price{font-size:40px!important}
.sx-buy-panel .sx-product-highlights{margin-top:14px!important;padding:13px 0!important}
.sx-buy-panel .sx-product-highlights>div{min-height:44px!important}
.sx-buy-actions{margin-top:15px!important}
.sx-trust-row{display:grid!important;margin-top:12px!important;gap:7px!important}
.sx-trust-row>div{padding:8px 5px!important;border-radius:13px!important;background:#fff!important}
.sx-trust-row>div strong{font-size:9.8px!important}
.sx-trust-row>div span:last-child{display:none!important}
@media (min-width:1280px){.sx-buy-consultation{display:none!important}}
.sx-service-consult-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:9px;min-height:35px;padding:0 12px;border-radius:10px;background:#15191f;color:#fff!important;text-decoration:none;font-size:10px;font-weight:900}
.sx-service-consult-btn:hover{background:#000}

/* Bundle: one obvious wide block, not a tiny add-on. */
.sx-product-bundle-v2{
  padding:14px!important;
  border:1px solid var(--sx-line)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(15,23,42,.04)!important;
}
.sx-product-bundle-v2>.mb-4{margin:0 0 11px!important;align-items:center!important}
.sx-product-bundle-v2>.mb-4 span{display:none!important}
.sx-product-bundle-v2>.mb-4 h2{margin:0!important;font-size:20px!important;line-height:1.15!important}
.sx-product-bundle-v2>.mb-4 p{display:inline!important;margin-left:10px!important;font-size:11px!important;color:#8b929d!important}
.sx-product-bundle-v2 .sx-bundle-shell{
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.sx-product-bundle-v2 .sx-bundle-products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.sx-product-bundle-v2 .sx-bundle-item{
  grid-template-columns:24px 56px minmax(0,1fr)!important;
  min-height:82px!important;
  padding:8px!important;
  gap:8px!important;
  border-radius:14px!important;
  background:#fff!important;
}
.sx-product-bundle-v2 .sx-bundle-media{width:56px!important;height:56px!important;border-radius:10px!important}
.sx-product-bundle-v2 .sx-bundle-checkmark{width:22px!important;height:22px!important;border-radius:7px!important}
.sx-product-bundle-v2 .sx-bundle-copy small{display:none!important}
.sx-product-bundle-v2 .sx-bundle-copy strong{font-size:10px!important;line-height:1.25!important;-webkit-line-clamp:2!important}
.sx-product-bundle-v2 .sx-bundle-copy b{margin-top:5px!important;font-size:12px!important}
.sx-product-bundle-v2 .sx-bundle-summary{
  min-height:82px!important;
  padding:12px 14px!important;
  border:1px solid #f1dfbd!important;
  border-radius:14px!important;
  background:#fff8ec!important;
  color:#171a20!important;
}
.sx-product-bundle-v2 .sx-bundle-summary>span{color:#8f887d!important;font-size:9px!important}
.sx-product-bundle-v2 .sx-bundle-summary>strong{margin-top:3px!important;font-size:25px!important;color:#171a20!important}
.sx-product-bundle-v2 .sx-bundle-summary>button{min-height:38px!important;margin-top:8px!important;border-radius:10px!important;background:#f2a012!important;color:#171717!important;font-size:10px!important}
.sx-product-bundle-v2 .sx-bundle-summary>small{display:none!important}

/* Feature strip: slim, continuous, no oversized cards. */
.sx-feature-strip{padding:0!important;overflow:hidden!important;border-radius:20px!important}
.sx-feature-strip .sx-features-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important}
.sx-feature-strip .sx-features-grid>article{
  min-height:74px!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  padding:11px 13px!important;
  border:0!important;
  border-right:1px solid #edf0f3!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.sx-feature-strip .sx-features-grid>article:last-child{border-right:0!important}
.sx-feature-strip .sx-features-grid>article>span{width:34px!important;height:34px!important;background:#fff7e9!important;color:#c78312!important;border-color:#f1d9ad!important}
.sx-feature-strip .sx-features-grid strong{font-size:11px!important;-webkit-line-clamp:2!important;line-clamp:2!important}
.sx-feature-strip .sx-features-grid span:last-child{font-size:10px!important;line-height:1.25!important}

/* Description / similar: strong visual change while preserving the left tab concept. */
.sx-content-desktop{
  padding:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:#fff!important;
}
.sx-content-desktop .sx-tabs-layout{
  display:grid!important;
  grid-template-columns:180px minmax(0,1fr) 285px!important;
  gap:0!important;
  min-height:420px!important;
}
.sx-content-desktop .sx-tabs-layout>div:first-child{
  padding:14px 12px!important;
  border-right:1px solid #edf0f3!important;
  background:#fcfcfd!important;
}
.sx-content-desktop [data-tab]{min-height:47px!important;padding:0 14px!important;border-radius:12px!important;font-size:12px!important}
.sx-content-desktop .sx-tabs-layout>div:nth-child(2){padding:20px 24px 24px!important;min-width:0!important}
.sx-content-desktop [data-tab-panel="description"]>h2{font-size:22px!important;margin:0 0 8px!important}
.sx-content-desktop [data-tab-panel="description"]>.prose-securix{max-width:790px!important;margin-top:0!important;font-size:15px!important;line-height:1.62!important;color:#555c68!important}
.sx-content-desktop .prose-securix p{margin:.58em 0!important}
.sx-content-desktop .prose-securix h2{font-size:21px!important;margin:1.15em 0 .42em!important}
.sx-content-desktop .prose-securix h3{font-size:17px!important;margin:1em 0 .36em!important}
.sx-similar-rail{
  position:static!important;
  top:auto!important;
  padding:16px 14px!important;
  border-left:1px solid #edf0f3!important;
  background:#fcfcfd!important;
}
.sx-similar-rail h3{font-size:15px!important}
.sx-similar-list{gap:7px!important}
.sx-similar-row{grid-template-columns:58px minmax(0,1fr) 30px!important;padding:7px!important;border-radius:13px!important}
.sx-similar-media{width:58px!important;height:58px!important}
.sx-similar-copy>a{font-size:10px!important}
.sx-similar-copy>strong{font-size:12px!important}

/* Blog cards inside the description block — obvious but still native SECURIX. */
.sx-product-articles{margin-top:20px!important;padding-top:18px!important;border-top:1px solid #edf0f3!important}
.sx-product-articles .sx-product-article-grid{gap:9px!important}
.sx-product-article-card{border-radius:14px!important}
.sx-product-article-media{aspect-ratio:1.62/1!important}
.sx-product-article-copy{padding:10px!important}
.sx-product-article-copy strong{font-size:11.5px!important}
.sx-product-article-copy span{font-size:9.5px!important}

/* Compact accessory rail from the approved preview. */
.sx-compatible-v2,
.sx-recent-v2{
  padding:13px 14px 14px!important;
  border:1px solid var(--sx-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(15,23,42,.035)!important;
}
.sx-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px}
.sx-section-head>div>span{display:none}
.sx-section-head h2{margin:0;font-size:19px;line-height:1.15;font-weight:900;letter-spacing:-.025em;color:#171a20}
.sx-section-head>a{color:#b87818;text-decoration:none;font-size:10px;font-weight:900}
.sx-compatible-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sx-compatible-card{display:grid;grid-template-columns:58px minmax(0,1fr) 30px;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid #e9edf1;border-radius:13px;background:#fff}
.sx-compatible-media{display:grid;width:58px;height:58px;place-items:center;overflow:hidden;border-radius:10px;background:#f7f8f9}
.sx-compatible-media img{width:100%;height:100%;object-fit:contain}
.sx-compatible-copy{min-width:0}
.sx-compatible-copy>a{display:-webkit-box;overflow:hidden;color:#2b3038;text-decoration:none;font-size:9.8px;line-height:1.3;font-weight:800;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.sx-compatible-copy>strong{display:block;margin-top:5px;font-size:12px;color:#16191f}
.sx-compatible-card>button{display:grid;width:29px;height:29px;place-items:center;border:1px solid #f0d7aa;border-radius:9px;background:#fff8ea;color:#c47c0b;font-size:17px;cursor:pointer}

/* Recently viewed: full cards, no sliced names. */
.sx-recent-grid{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(185px,1fr)!important;
  gap:8px!important;
  overflow-x:auto!important;
  padding:0 0 4px!important;
  scroll-snap-type:x proximity;
}
.sx-recent-card{
  display:grid!important;
  grid-template-columns:66px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:0 9px!important;
  min-width:185px!important;
  padding:8px!important;
  border:1px solid #e8ecf0!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:none!important;
  scroll-snap-align:start;
}
.sx-recent-media{grid-row:1/3!important;width:66px!important;height:66px!important;aspect-ratio:auto!important;border-radius:10px!important}
.sx-recent-copy{min-width:0!important;padding-right:28px!important}
.sx-recent-copy small{margin:0!important;font-size:8px!important}
.sx-recent-copy>a{min-height:31px!important;margin-top:2px!important;font-size:9.5px!important;line-height:1.28!important;-webkit-line-clamp:2!important}
.sx-recent-copy>span{display:none!important}
.sx-recent-copy>strong{margin-top:5px!important;padding:0!important;font-size:12px!important}
.sx-recent-card>button{right:7px!important;bottom:7px!important;width:28px!important;height:28px!important;border-radius:8px!important;background:#fff8ea!important;color:#c47c0b!important;border:1px solid #f0d7aa!important}

/* Responsive behaviour retains existing mobile structure. */
@media (max-width:1279px){
  .sx-gallery-meta{padding-left:0!important}
  .sx-product-bundle-v2 .sx-bundle-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sx-feature-strip .sx-features-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .sx-feature-strip .sx-features-grid>article:nth-child(3n){border-right:0!important}
  .sx-compatible-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767px){
  .sx-gallery-main{height:auto!important;min-height:320px!important}
  .sx-product-media-swiper,.sx-product-media-swiper>.swiper-wrapper,.sx-product-media-slide{height:320px!important}
  .sx-product-media-slide[data-media-kind="image"] img{max-height:292px!important;max-width:94%!important}
  .sx-gallery-meta{gap:6px!important;margin-top:8px!important}
  .sx-gallery-meta-chip{min-height:35px!important;padding:0 10px!important;font-size:10px!important}
  .sx-product-bundle-v2{padding:11px!important;border-radius:20px!important}
  .sx-product-bundle-v2>.mb-4 p{display:block!important;margin:4px 0 0!important}
  .sx-product-bundle-v2 .sx-bundle-shell{grid-template-columns:1fr!important}
  .sx-product-bundle-v2 .sx-bundle-products{display:flex!important;overflow-x:auto!important;gap:7px!important;padding-bottom:4px!important}
  .sx-product-bundle-v2 .sx-bundle-item{flex:0 0 240px!important}
  .sx-product-bundle-v2 .sx-bundle-summary{min-height:0!important}
  .sx-feature-strip .sx-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sx-feature-strip .sx-features-grid>article{border-right:1px solid #edf0f3!important;border-bottom:1px solid #edf0f3!important}
  .sx-feature-strip .sx-features-grid>article:nth-child(2n){border-right:0!important}
  .sx-content-desktop{display:none!important}
  .sx-compatible-v2,.sx-recent-v2{padding:12px!important;border-radius:20px!important}
  .sx-compatible-grid{display:flex!important;overflow-x:auto!important;gap:7px!important;padding-bottom:4px!important}
  .sx-compatible-card{flex:0 0 235px!important}
  .sx-recent-grid{display:flex!important}
  .sx-recent-card{flex:0 0 205px!important;min-width:205px!important}
}


/* ============================================================
   vFINAL3 — preserve original SECURIX concept, only finish it
   ============================================================ */
@media (min-width:1280px){
  /* One continuous product hero again: gallery + buy + service live in one shell. */
  .sx-product-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1.12fr) minmax(360px,.82fr) 300px!important;
    gap:0!important;
    align-items:start!important;
    padding:18px!important;
    background:#fff!important;
    border:1px solid #e7ebef!important;
    border-radius:30px!important;
    box-shadow:0 18px 44px rgba(15,23,42,.045)!important;
    overflow:visible!important;
  }
  .sx-product-gallery,
  .sx-buy-panel,
  .sx-service-aside>section{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  .sx-product-gallery{
    padding:0 16px 0 0!important;
    border-right:1px solid #edf1f4!important;
  }
  .sx-buy-panel{
    padding:8px 20px!important;
    position:static!important;
  }
  .sx-service-aside{
    padding:0 0 0 16px!important;
    border-left:1px solid #edf1f4!important;
    gap:0!important;
  }
  .sx-service-aside>section{padding:12px 10px!important}
  .sx-service-aside>section+section{border-top:1px solid #edf1f4!important}
  .sx-gallery-main{border:0!important;box-shadow:none!important;background:#fff!important}
}

/* Gallery mode chips: active kind follows the currently visible slide. */
.sx-gallery-meta-chip.is-active{
  border-color:#edb34f!important;
  background:#fff5e4!important;
  color:#b87818!important;
  box-shadow:0 0 0 1px rgba(233,155,25,.07)!important;
}
.sx-gallery-meta-chip.is-active>span{color:#b87818!important}
.sx-gallery-meta-chip.is-active small{background:#f8dfb5!important;color:#a96b0c!important}
.sx-gallery-meta-chip:not(.is-active){background:#fff!important;color:#515762!important}

/* Similar products stay as the right column of the desktop description block. */
@media (min-width:1101px){
  .sx-content-desktop .sx-tabs-layout{
    grid-template-columns:190px minmax(0,1fr) 285px!important;
  }
  .sx-similar-rail{display:block!important}
}

/* Blog is a separate full-width section below description, not embedded in the text. */
.sx-product-articles-wide{
  padding:14px!important;
  border:1px solid #e7ebef!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(15,23,42,.035)!important;
}
.sx-product-articles-wide .sx-product-article-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.sx-product-articles-wide .sx-product-article-card{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;min-height:116px!important}
.sx-product-articles-wide .sx-product-article-media{aspect-ratio:auto!important;height:100%!important;min-height:116px!important}
.sx-product-articles-wide .sx-product-article-copy{padding:12px!important}
.sx-product-articles-wide .sx-product-article-copy strong{font-size:12px!important;-webkit-line-clamp:2!important}
.sx-product-articles-wide .sx-product-article-copy span{font-size:10px!important;-webkit-line-clamp:2!important}

/* Recent history: five complete cards on desktop, no clipped sixth card. */
@media (min-width:1280px){
  .sx-recent-grid{
    display:grid!important;
    grid-auto-flow:row!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-columns:auto!important;
    gap:9px!important;
    overflow:visible!important;
    padding:0!important;
  }
  .sx-recent-card{
    min-width:0!important;
    grid-template-columns:74px minmax(0,1fr)!important;
    min-height:92px!important;
    padding:9px!important;
  }
  .sx-recent-media{width:74px!important;height:74px!important}
  .sx-recent-copy>a{font-size:10px!important;line-height:1.3!important;-webkit-line-clamp:3!important;min-height:39px!important}
  .sx-recent-copy>strong{font-size:13px!important}
}

/* Explicit section order: description -> blog -> recent; curated compatibility can follow if configured. */
.sx-product-articles-wide{scroll-margin-top:104px}

@media (max-width:767px){
  .sx-product-articles-wide{padding:12px!important;border-radius:20px!important}
  .sx-product-articles-wide .sx-product-article-grid{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:4px!important}
  .sx-product-articles-wide .sx-product-article-card{display:block!important;flex:0 0 82%!important;min-height:0!important}
  .sx-product-articles-wide .sx-product-article-media{display:grid!important;aspect-ratio:16/9!important;min-height:0!important;height:auto!important}
}

/* vFINAL3.1 — hard desktop guard against duplicate mobile similar block
   and a deterministic 5-card recently-viewed grid. */
@media (min-width:768px){
  .sx-similar-mobile{
    display:none!important;
  }
}

@media (min-width:1280px){
  .sx-recent-v2 .sx-recent-grid{
    display:grid!important;
    grid-auto-flow:row!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-columns:auto!important;
    overflow:visible!important;
    gap:10px!important;
    padding:2px!important;
  }
  .sx-recent-v2 .sx-recent-card{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  .sx-recent-v2 .sx-recent-card:nth-child(n+6){
    display:none!important;
  }
}


/* vFINAL3.2 — desktop description/specifications progressive disclosure */
@media (min-width:768px){
  .sx-content-desktop .sx-desktop-reveal-panel{
    position:relative;
  }
  .sx-content-desktop .sx-desktop-reveal-content{
    transition:max-height .28s ease;
  }
  .sx-content-desktop .sx-desktop-reveal-panel.has-desktop-overflow:not(.is-desktop-expanded) .sx-desktop-reveal-content{
    max-height:var(--sx-desktop-reveal-limit,380px)!important;
    overflow:hidden!important;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 76%,rgba(0,0,0,.72) 88%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 76%,rgba(0,0,0,.72) 88%,transparent 100%);
  }
  .sx-content-desktop .sx-desktop-reveal-panel.is-desktop-expanded .sx-desktop-reveal-content{
    max-height:none!important;
    overflow:visible!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  .sx-content-desktop .sx-desktop-reveal-toggle{
    display:flex;
    min-width:178px;
    min-height:44px;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin:14px auto 0;
    padding:0 20px;
    border:1px solid #e1e5ea;
    border-radius:14px;
    background:#fff;
    color:#353b46;
    box-shadow:0 5px 16px rgba(15,23,42,.035);
    font-size:12px;
    font-weight:850;
    cursor:pointer;
    transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,color .16s ease;
  }
  .sx-content-desktop .sx-desktop-reveal-toggle:hover{
    border-color:#e7b65d;
    color:#b87818;
    box-shadow:0 8px 22px rgba(15,23,42,.055);
    transform:translateY(-1px);
  }
  .sx-content-desktop .sx-desktop-reveal-toggle b{
    display:grid;
    width:20px;
    height:20px;
    place-items:center;
    font-size:17px;
    font-weight:600;
    line-height:1;
  }
  .sx-content-desktop .sx-desktop-reveal-toggle[hidden]{display:none!important}
}


/* ============================================================
   vFINAL4 — two-column hero, delivery under CTA, adaptive media,
   desktop quick-buy while scrolling. Keeps the approved SECURIX concept.
   ============================================================ */
@media (min-width:1280px){
  .sx-product-hero{
    grid-template-columns:minmax(0,1.08fr) minmax(500px,.92fr)!important;
    gap:0!important;
    padding:18px!important;
    background:#fff!important;
    border:1px solid #e7ebef!important;
    border-radius:30px!important;
    box-shadow:0 18px 44px rgba(15,23,42,.045)!important;
  }
  .sx-service-aside{display:none!important}
  .sx-product-gallery{
    padding:0 18px 0 0!important;
    border:0!important;
    border-right:1px solid #edf1f4!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
  }
  .sx-buy-panel{
    position:static!important;
    padding:8px 0 8px 24px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  .sx-buy-panel:before{display:none!important}
  .sx-buy-panel .sx-product-title{font-size:34px!important;line-height:1.04!important;max-width:720px!important}
  .sx-buy-panel .sx-product-price{font-size:44px!important}
  .sx-gallery-main{height:510px!important}
  .sx-product-thumbs-swiper{max-height:510px!important}
  .sx-product-media-slide[data-media-kind="image"] img{max-width:96%!important;max-height:470px!important}
}
@media (min-width:768px) and (max-width:1279px){
  .sx-product-hero{grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr)!important;gap:0!important;padding:14px!important;background:#fff!important;border:1px solid #e7ebef!important;border-radius:26px!important}
  .sx-service-aside,.sx-mobile-service{display:none!important}
  .sx-product-gallery{padding:0 14px 0 0!important;border-right:1px solid #edf1f4!important;background:transparent!important;box-shadow:none!important}
  .sx-buy-panel{padding:6px 0 6px 18px!important;background:transparent!important;border:0!important;box-shadow:none!important;position:static!important}
  .sx-gallery-main{height:430px!important}
  .sx-product-media-slide[data-media-kind="image"] img{max-height:392px!important}
}
.sx-mobile-service{display:none!important}

/* Delivery replaces the old right service column and duplicated trust cards. */
.sx-product-delivery{margin-top:14px;padding-top:14px;border-top:1px solid #edf0f3}
.sx-product-delivery-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
.sx-product-delivery-head>strong{font-size:15px;font-weight:900;color:#1d2128}
.sx-product-delivery-head>span{font-size:10px;font-weight:700;color:#9aa1ad}
.sx-product-delivery-list{display:grid;gap:7px}
.sx-product-delivery-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:9px 11px;border:1px solid #e4e8ed;border-radius:14px;background:#fff}
.sx-product-delivery-icon{display:grid;width:40px;height:40px;place-items:center;border:1px solid #f1d7a6;border-radius:12px;background:#fff8ea;color:#c8881a}
.sx-product-delivery-icon svg{width:19px;height:19px}
.sx-product-delivery-copy{min-width:0}
.sx-product-delivery-copy>b{display:block;font-size:11.5px;line-height:1.3;color:#242930}
.sx-product-delivery-copy>small{display:block;margin-top:3px;font-size:9.5px;line-height:1.35;color:#9198a4}
.sx-product-delivery-row>strong{font-size:11px;white-space:nowrap;color:#b87818}
.sx-product-delivery-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:0 2px;font-size:9.5px;font-weight:750;color:#858d99}
.sx-product-delivery-foot span{display:inline-flex;align-items:center;gap:5px}
.sx-product-delivery-foot svg{width:14px;height:14px;color:#c8881a}
.sx-product-delivery-foot a{color:#b87818;text-decoration:none}
.sx-trust-row,.sx-buy-consultation{display:none!important}

/* Media sizing is based on the actual media kind/orientation. */
.sx-product-media-slide[data-media-kind="image"] img{object-fit:contain!important}
.sx-product-video-slide{padding:12px!important}
.sx-product-video-slide video,.sx-product-video-slide iframe{object-fit:contain!important;background:#0f1115!important}
@media (min-width:768px){
  .sx-product-video-slide.is-landscape video,.sx-product-video-slide.is-landscape iframe{width:min(94%,820px)!important;height:auto!important;max-height:470px!important;aspect-ratio:16/9!important}
  .sx-product-video-slide.is-portrait video,.sx-product-video-slide.is-portrait iframe{width:auto!important;height:min(470px,72vh)!important;max-width:88%!important;max-height:470px!important;aspect-ratio:9/16!important}
  .sx-product-video-slide.is-square video,.sx-product-video-slide.is-square iframe{width:min(78%,460px)!important;height:auto!important;max-height:460px!important;aspect-ratio:1/1!important}
}
@media (max-width:767px){
  .sx-product-hero{gap:8px!important}
  .sx-product-gallery{padding:8px!important}
  .sx-gallery-main{height:390px!important;min-height:390px!important;padding:8px!important}
  .sx-product-media-slide[data-media-kind="image"] img{max-width:94%!important;max-height:350px!important}
  .sx-product-video-slide{padding:8px!important}
  .sx-product-video-slide.is-landscape video,.sx-product-video-slide.is-landscape iframe{width:100%!important;height:auto!important;max-height:340px!important;aspect-ratio:16/9!important}
  .sx-product-video-slide.is-portrait video,.sx-product-video-slide.is-portrait iframe{width:auto!important;height:min(360px,58vh)!important;max-width:88%!important;max-height:360px!important;aspect-ratio:9/16!important}
  .sx-product-video-slide.is-square video,.sx-product-video-slide.is-square iframe{width:min(94%,340px)!important;height:auto!important;max-height:340px!important;aspect-ratio:1/1!important}
  .sx-gallery-meta{padding-left:0!important;justify-content:center!important}
  .sx-product-delivery{margin-top:12px;padding-top:12px}
  .sx-product-delivery-head{align-items:flex-start;flex-direction:column;gap:2px}
  .sx-product-delivery-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:8px;min-height:60px}
  .sx-product-delivery-icon{width:38px;height:38px}
  .sx-product-delivery-copy>b{font-size:10.5px}
  .sx-product-delivery-copy>small{font-size:9px}
  .sx-product-delivery-row>strong{font-size:10px}
  .sx-product-delivery-foot{font-size:9px;flex-wrap:wrap}
}

/* Desktop sticky quick-buy appears after the main product hero is scrolled past. */
.sx-desktop-sticky-buy{position:fixed;z-index:34;top:82px;left:50%;width:min(1320px,calc(100% - 48px));transform:translate(-50%,-18px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.sx-desktop-sticky-buy.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0);pointer-events:auto}
.sx-desktop-sticky-buy-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;min-height:70px;padding:9px 12px;border:1px solid #e2e6eb;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 16px 42px rgba(15,23,42,.13);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.sx-desktop-sticky-product{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:11px;min-width:0}
.sx-desktop-sticky-product>img{width:52px;height:52px;object-fit:contain;border-radius:10px;background:#f7f8fa}
.sx-desktop-sticky-product>div{min-width:0}
.sx-desktop-sticky-product strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#1d2128}
.sx-desktop-sticky-product span{display:block;margin-top:3px;font-size:9.5px;color:#9299a4}
.sx-desktop-sticky-price{font-size:22px;white-space:nowrap;color:#15181e}
.sx-desktop-sticky-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:185px;height:46px;padding:0 18px;border:0;border-radius:12px;background:#e99b19;color:#fff;font-size:12px;font-weight:900;cursor:pointer}
.sx-desktop-sticky-cta:hover{background:#d98c0f}
.sx-desktop-sticky-cta svg{width:16px;height:16px}
@media (max-width:767px){.sx-desktop-sticky-buy{display:none!important}}


/* ============================================================
   vFINAL4.1 — mobile gallery stabilization
   - natural height per media type instead of one fixed 390px box
   - portrait / landscape / square video keep their real proportions
   - thumbnails always live below the main media on phones
   - swipe is primary navigation; arrows stop covering vertical video
   ============================================================ */
@media (max-width:767px){
  .sx-product-gallery{
    padding:8px 8px 10px!important;
    overflow:hidden!important;
  }
  .sx-gallery-layout,
  .sx-gallery-swiper-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
  }
  .sx-gallery-main{
    order:1!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }
  .sx-product-media-swiper{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .sx-product-media-swiper>.swiper-wrapper{
    height:auto!important;
    align-items:flex-start!important;
    transition-property:transform,height!important;
  }
  .sx-product-media-slide{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .sx-product-media-slide[data-media-kind="image"]{
    aspect-ratio:1 / 1!important;
    min-height:300px!important;
  }
  .sx-product-media-slide[data-media-kind="image"] .swiper-zoom-container,
  .sx-product-media-slide[data-media-kind="image"] picture{
    width:100%!important;
    height:100%!important;
  }
  .sx-product-media-slide[data-media-kind="image"] img{
    width:auto!important;
    height:auto!important;
    max-width:92%!important;
    max-height:92%!important;
    object-fit:contain!important;
    margin:auto!important;
  }

  .sx-product-video-slide{
    display:grid!important;
    place-items:center!important;
    background:#fff!important;
  }
  .sx-product-video-slide.is-landscape{
    min-height:230px!important;
    aspect-ratio:16 / 9!important;
  }
  .sx-product-video-slide.is-landscape video,
  .sx-product-video-slide.is-landscape iframe{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:none!important;
    aspect-ratio:16 / 9!important;
    object-fit:contain!important;
    border-radius:16px!important;
    background:#0f1115!important;
  }
  .sx-product-video-slide.is-portrait{
    height:min(68svh,540px)!important;
    min-height:430px!important;
    aspect-ratio:auto!important;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    display:block!important;
    width:auto!important;
    height:100%!important;
    max-width:94%!important;
    max-height:100%!important;
    aspect-ratio:9 / 16!important;
    object-fit:contain!important;
    border-radius:18px!important;
    background:#0f1115!important;
  }
  .sx-product-video-slide.is-square{
    min-height:300px!important;
    aspect-ratio:1 / 1!important;
  }
  .sx-product-video-slide.is-square video,
  .sx-product-video-slide.is-square iframe{
    width:min(100%,390px)!important;
    height:auto!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    object-fit:contain!important;
    border-radius:18px!important;
    background:#0f1115!important;
  }

  .sx-product-thumbs-swiper{
    order:2!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    overflow:hidden!important;
    padding:1px 0 2px!important;
  }
  .sx-product-thumbs-swiper .swiper-wrapper{
    display:flex!important;
    align-items:center!important;
    height:auto!important;
  }
  .sx-product-thumb-slide{
    width:64px!important;
    height:64px!important;
    flex:0 0 64px!important;
  }
  .sx-product-thumb-slide button{
    width:64px!important;
    height:64px!important;
    padding:5px!important;
    border-radius:14px!important;
  }
  .sx-product-thumb-slide img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  .sx-swiper-nav{
    display:none!important;
  }
  .sx-product-media-pagination{
    bottom:8px!important;
  }
  .sx-gallery-main [data-gallery-fullscreen],
  .sx-gallery-main [data-compare],
  .sx-gallery-main [data-wishlist]{
    width:38px!important;
    height:38px!important;
  }
  .sx-gallery-meta{
    justify-content:center!important;
    gap:7px!important;
    margin-top:9px!important;
    padding-left:0!important;
  }
  .sx-gallery-meta-chip{
    min-height:36px!important;
    padding:0 11px!important;
    border-radius:12px!important;
    font-size:10.5px!important;
  }
}
@media (max-width:390px){
  .sx-product-media-slide[data-media-kind="image"]{min-height:286px!important}
  .sx-product-video-slide.is-portrait{height:min(66svh,500px)!important;min-height:400px!important}
  .sx-product-thumb-slide,.sx-product-thumb-slide button{width:60px!important;height:60px!important;flex-basis:60px!important}
}


/* ============================================================
   vFINAL4.2 — mobile gallery + history polish
   Fixes from real-device screenshots:
   - product photos no longer occupy almost the whole phone screen
   - 9:16 video is large but not oversized
   - support launchers do not cover gallery thumbnails
   - gallery controls can scroll fully above the fixed mobile nav
   - recently viewed cards keep readable names and price
   ============================================================ */
@media (max-width:767px){
  .sx-product-gallery{
    padding:8px 8px calc(104px + env(safe-area-inset-bottom))!important;
  }

  .sx-product-media-slide[data-media-kind="image"]{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:clamp(320px,82vw,390px)!important;
    min-height:0!important;
    aspect-ratio:auto!important;
  }
  .sx-product-media-slide[data-media-kind="image"] .swiper-zoom-container,
  .sx-product-media-slide[data-media-kind="image"] picture{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
  }
  .sx-product-media-slide[data-media-kind="image"] img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:88%!important;
    max-height:88%!important;
    object-fit:contain!important;
    margin:auto!important;
  }

  .sx-product-video-slide.is-landscape{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
  }
  .sx-product-video-slide.is-landscape video,
  .sx-product-video-slide.is-landscape iframe{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
  }

  .sx-product-video-slide.is-portrait{
    width:100%!important;
    height:min(56svh,460px)!important;
    min-height:350px!important;
    aspect-ratio:auto!important;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    width:auto!important;
    height:100%!important;
    max-width:78%!important;
    max-height:100%!important;
    aspect-ratio:9/16!important;
    object-fit:contain!important;
    margin:auto!important;
  }

  .sx-product-video-slide.is-square{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:clamp(300px,78vw,370px)!important;
    min-height:0!important;
    aspect-ratio:auto!important;
  }
  .sx-product-video-slide.is-square video,
  .sx-product-video-slide.is-square iframe{
    width:min(90%,350px)!important;
    height:auto!important;
    max-height:350px!important;
    aspect-ratio:1/1!important;
  }

  .sx-product-thumbs-swiper{
    margin-top:2px!important;
    padding:2px 0 4px!important;
  }
  .sx-product-thumb-slide,
  .sx-product-thumb-slide button{
    width:58px!important;
    height:58px!important;
    flex-basis:58px!important;
  }
  .sx-product-thumb-slide button{
    padding:4px!important;
    border-radius:13px!important;
  }
  .sx-product-thumbs-swiper .swiper-wrapper{
    gap:0!important;
  }

  .sx-gallery-meta{
    position:relative!important;
    z-index:2!important;
    margin-top:8px!important;
    margin-bottom:0!important;
  }

  html.sx-mobile-gallery-focus .sx-support-widget .sx-support-launchers{
    opacity:0!important;
    pointer-events:none!important;
    transform:translateY(10px)!important;
    transition:opacity .16s ease,transform .16s ease!important;
  }

  .sx-recent-v2{
    overflow:hidden!important;
  }
  .sx-recent-v2 .sx-recent-grid{
    display:flex!important;
    gap:9px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    padding:0 2px 6px!important;
    scroll-snap-type:x proximity!important;
    -webkit-overflow-scrolling:touch;
  }
  .sx-recent-v2 .sx-recent-card{
    flex:0 0 252px!important;
    min-width:252px!important;
    min-height:108px!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    gap:10px!important;
    padding:10px!important;
    overflow:visible!important;
  }
  .sx-recent-v2 .sx-recent-media{
    grid-row:auto!important;
    width:78px!important;
    height:78px!important;
  }
  .sx-recent-v2 .sx-recent-copy{
    min-width:0!important;
    padding-right:34px!important;
  }
  .sx-recent-v2 .sx-recent-copy small{
    font-size:9px!important;
    line-height:1.1!important;
  }
  .sx-recent-v2 .sx-recent-copy>a{
    display:-webkit-box!important;
    min-height:0!important;
    margin-top:4px!important;
    overflow:hidden!important;
    font-size:11.5px!important;
    line-height:1.28!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
  }
  .sx-recent-v2 .sx-recent-copy>strong{
    margin-top:7px!important;
    font-size:15px!important;
    line-height:1!important;
  }
  .sx-recent-v2 .sx-recent-card>button{
    right:9px!important;
    bottom:9px!important;
    width:34px!important;
    height:34px!important;
    border-radius:10px!important;
    font-size:21px!important;
  }
}

@media (max-width:390px){
  .sx-product-media-slide[data-media-kind="image"]{
    height:clamp(300px,80vw,350px)!important;
  }
  .sx-product-video-slide.is-portrait{
    height:min(54svh,430px)!important;
    min-height:330px!important;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    max-width:76%!important;
  }
  .sx-product-thumb-slide,
  .sx-product-thumb-slide button{
    width:56px!important;
    height:56px!important;
    flex-basis:56px!important;
  }
  .sx-recent-v2 .sx-recent-card{
    flex-basis:238px!important;
    min-width:238px!important;
  }
}


/* ============================================================
   vFINAL4.3 — stable mobile media viewport
   Real-device fix: media must adapt INSIDE the gallery, not resize the whole gallery.
   ============================================================ */
@media (max-width:767px){
  .sx-product-gallery{
    padding:8px!important;
    overflow:hidden!important;
  }
  .sx-gallery-layout,
  .sx-gallery-main,
  .sx-product-media-swiper,
  .sx-product-media-swiper>.swiper-wrapper{
    min-width:0!important;
    width:100%!important;
  }

  .sx-gallery-main{
    height:clamp(300px,74vw,360px)!important;
    min-height:0!important;
    max-height:360px!important;
    padding:8px!important;
    overflow:hidden!important;
  }
  .sx-product-media-swiper,
  .sx-product-media-swiper>.swiper-wrapper,
  .sx-product-media-slide{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  .sx-product-media-slide{
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    overflow:hidden!important;
  }

  /* Photos: large enough to inspect, never taller than the gallery frame. */
  .sx-product-media-slide[data-media-kind="image"],
  .sx-product-media-slide[data-media-kind="image"] .swiper-zoom-container,
  .sx-product-media-slide[data-media-kind="image"] picture{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    display:grid!important;
    place-items:center!important;
  }
  .sx-product-media-slide[data-media-kind="image"] img{
    width:auto!important;
    height:auto!important;
    max-width:92%!important;
    max-height:92%!important;
    object-fit:contain!important;
    margin:auto!important;
  }

  /* Horizontal video: uses the width of the frame, remains 16:9. */
  .sx-product-video-slide.is-landscape{
    width:100%!important;
    height:100%!important;
    aspect-ratio:auto!important;
  }
  .sx-product-video-slide.is-landscape video,
  .sx-product-video-slide.is-landscape iframe{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:94%!important;
    aspect-ratio:16/9!important;
    object-fit:contain!important;
    margin:auto!important;
    border-radius:16px!important;
  }

  /* Portrait video: stays 9:16 but is contained inside the same stable frame. */
  .sx-product-video-slide.is-portrait{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    aspect-ratio:auto!important;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    width:auto!important;
    height:94%!important;
    max-width:70%!important;
    max-height:94%!important;
    aspect-ratio:9/16!important;
    object-fit:contain!important;
    margin:auto!important;
    border-radius:16px!important;
  }

  .sx-product-video-slide.is-square{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    aspect-ratio:auto!important;
  }
  .sx-product-video-slide.is-square video,
  .sx-product-video-slide.is-square iframe{
    width:auto!important;
    height:88%!important;
    max-width:88%!important;
    max-height:88%!important;
    aspect-ratio:1/1!important;
    object-fit:contain!important;
    margin:auto!important;
  }

  /* Keep controls compact directly below the stable viewport. */
  .sx-product-thumbs-swiper{
    margin-top:8px!important;
    padding:0!important;
  }
  .sx-product-thumb-slide,
  .sx-product-thumb-slide button{
    width:56px!important;
    height:56px!important;
    flex-basis:56px!important;
  }
  .sx-gallery-meta{
    margin-top:8px!important;
    margin-bottom:4px!important;
  }

  /* Fixed bottom navigation needs page clearance, not 100px inside the gallery. */
  .sx-product-page{
    padding-bottom:112px!important;
  }
}

@media (max-width:390px){
  .sx-gallery-main{
    height:clamp(286px,72vw,325px)!important;
    max-height:325px!important;
  }
  .sx-product-video-slide.is-portrait video,
  .sx-product-video-slide.is-portrait iframe{
    height:92%!important;
    max-height:92%!important;
    max-width:68%!important;
  }
  .sx-product-thumb-slide,
  .sx-product-thumb-slide button{
    width:54px!important;
    height:54px!important;
    flex-basis:54px!important;
  }
}
