/* Royal Rx gender navigation */
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .swiper-wrapper{justify-content:center!important;gap:40px!important;transform:none!important}
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .swiper-slide{width:auto!important;margin:0!important;flex:0 0 auto!important}
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .slide--cat-entry{width:auto!important;height:auto!important;min-height:44px!important;padding:0 4px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .slide--cat-entry i{display:none!important}
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .slide--cat-entry h2{font-size:18px!important;font-weight:600!important;line-height:1.4!important;margin:0!important}
/* Balance native slider gutters on phones */
@media(max-width:767px){
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .s-slider-container{padding:0!important;margin:0!important;width:100%!important}
#main-links-1:has(a[href*="c950695923"]):has(a[href*="c659680502"]) .swiper-wrapper{width:100%!important}
}








/* Royal Rx product cards: mobile and desktop */
@media(min-width:0px){
custom-salla-product-card.s-product-card-vertical{height:auto!important;min-height:0!important;justify-content:flex-start!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-image{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:2/3!important;flex:0 0 auto!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-image>a{display:block!important;height:100%!important;width:100%!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-image img{height:100%!important;width:100%!important;object-fit:contain!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content{display:flex!important;flex-direction:column!important;flex:1!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content>div:first-child{padding:10px 6px!important;flex:1!important;justify-content:flex-start!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-main{padding-top:0!important;min-height:40px!important;width:100%!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-title{font-size:12px!important;line-height:20px!important;height:40px!important;margin:0!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-sub{margin:4px 0!important}
custom-salla-product-card.s-product-card-vertical .options-box-container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;min-height:60px!important;align-content:start!important}
custom-salla-product-card.s-product-card-vertical .option-box{min-height:28px!important;padding:4px!important;font-size:12px!important;line-height:16px!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer{margin-top:auto!important}
#product-1883822716 .option-box[data-value="649302687"]{font-size:0!important}#product-1883822716 .option-box[data-value="649302687"]::after{content:"XS";font-size:12px;line-height:16px}
#product-1883822716 .option-box[data-value="1889055128"]{font-size:0!important}#product-1883822716 .option-box[data-value="1889055128"]::after{content:"S";font-size:12px;line-height:16px}
#product-1883822716 .option-box[data-value="1113968793"]{font-size:0!important}#product-1883822716 .option-box[data-value="1113968793"]::after{content:"M";font-size:12px;line-height:16px}
#product-1883822716 .option-box[data-value="474152858"]{font-size:0!important}#product-1883822716 .option-box[data-value="474152858"]::after{content:"L";font-size:12px;line-height:16px}
#product-1883822716 .option-box[data-value="1848581787"]{font-size:0!important}#product-1883822716 .option-box[data-value="1848581787"]::after{content:"XL";font-size:12px;line-height:16px}
#product-1883822716 .option-box[data-value="1005862372"]{font-size:0!important}#product-1883822716 .option-box[data-value="1005862372"]::after{content:"2XL";font-size:12px;line-height:16px}
#product-187828748 .option-box[data-value="1831939126"]{font-size:0!important}#product-187828748 .option-box[data-value="1831939126"]::after{content:"S";font-size:12px;line-height:16px}
#product-187828748 .option-box[data-value="1058949943"]{font-size:0!important}#product-187828748 .option-box[data-value="1058949943"]::after{content:"M";font-size:12px;line-height:16px}
#product-187828748 .option-box[data-value="150694448"]{font-size:0!important}#product-187828748 .option-box[data-value="150694448"]::after{content:"L";font-size:12px;line-height:16px}
#product-187828748 .option-box[data-value="1522633009"]{font-size:0!important}#product-187828748 .option-box[data-value="1522633009"]::after{content:"XL";font-size:12px;line-height:16px}
#product-187828748 .option-box[data-value="883861554"]{font-size:0!important}#product-187828748 .option-box[data-value="883861554"]::after{content:"2XL";font-size:12px;line-height:16px}
#product-1418108018 .option-box[data-value="723813262"]{font-size:0!important}#product-1418108018 .option-box[data-value="723813262"]::after{content:"S";font-size:12px;line-height:16px}
#product-1418108018 .option-box[data-value="83993231"]{font-size:0!important}#product-1418108018 .option-box[data-value="83993231"]::after{content:"M";font-size:12px;line-height:16px}
#product-1418108018 .option-box[data-value="1458487688"]{font-size:0!important}#product-1418108018 .option-box[data-value="1458487688"]::after{content:"L";font-size:12px;line-height:16px}
#product-1418108018 .option-box[data-value="550232201"]{font-size:0!important}#product-1418108018 .option-box[data-value="550232201"]::after{content:"XL";font-size:12px;line-height:16px}
#product-1418108018 .option-box[data-value="1922043786"]{font-size:0!important}#product-1418108018 .option-box[data-value="1922043786"]::after{content:"2XL";font-size:12px;line-height:16px}
}
















/* Show the full ACTIVE logo in the native brand card */
.store-categories__img[src*="47903001-3fb1-4602-92d8-ecf9baba757d"]{object-fit:contain!important;object-position:center!important}




/* ACTIVE card color photographs. Native product-page image bindings are stored in Salla. */
#form-1883822716:has(input[name="options[1599212663]"][value="226097042"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/12791778-34fe-4632-b331-d8c8246c72e5-original.webp")!important}
#form-1883822716:has(input[name="options[1599212663]"][value="1598428819"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/f7363639-620d-456e-b397-0d95dfdfb1b1-original.webp")!important}
#form-1883822716:has(input[name="options[1599212663]"][value="690173340"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/3c2c246f-1104-413a-a8fb-5e805ee1ceaf-original.webp")!important}
#form-1883822716:has(input[name="options[1599212663]"][value="2064143517"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/21f5d276-504b-4bbe-9ca6-465c85fe3eda-original.webp")!important}
#form-1883822716:has(input[name="options[1599212663]"][value="1423274910"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/9d42b461-d46e-4d93-b9d6-ab06a8b45cc7-original.webp")!important}
#form-1883822716:has(input[name="options[1599212663]"]:checked) .s-product-card-image>a>img{opacity:1!important;filter:none!important}
#form-1883822716:has(input[name="options[1599212663]"]:checked) .s-product-card-hover-img{display:none!important}
#form-1108736381:has(input[name="options[2063878769]"][value="366042341"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/045bf191-5b9d-4bf8-960b-bbc6f05a2fef-original.webp")!important}
#form-1108736381:has(input[name="options[2063878769]"][value="1740536806"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/0832ba22-7f79-4015-bbff-d516631071ec-original.webp")!important}
#form-1108736381:has(input[name="options[2063878769]"][value="830773991"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/67d9cfa3-f23b-4a34-9373-26732ca48814-original.webp")!important}
#form-1108736381:has(input[name="options[2063878769]"][value="56736224"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/03017478-a174-4058-b28a-29a8398f93ec-original.webp")!important}
#form-1108736381:has(input[name="options[2063878769]"][value="1565448417"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/63706921-1b70-4b64-87bb-4e31b5cb5892-original.webp")!important}
#form-1108736381:has(input[name="options[2063878769]"]:checked) .s-product-card-image>a>img{opacity:1!important;filter:none!important}
#form-1108736381:has(input[name="options[2063878769]"]:checked) .s-product-card-hover-img{display:none!important}
#form-187828748:has(input[name="options[1842563856]"][value="1274577193"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/products/1374844309/5e8f382b-19f1-4b7a-be91-afe0edca8071-original.webp")!important}
#form-187828748:has(input[name="options[1842563856]"][value="633708586"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/products/1374844309/dba012e7-f780-46c6-99f2-3676a2a6da6c-original.webp")!important}
#form-187828748:has(input[name="options[1842563856]"][value="2007158571"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/products/1374844309/bebb7f6d-ba77-45b2-8670-2cdbc06f65da-original.webp")!important}
#form-187828748:has(input[name="options[1842563856]"][value="1099951668"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/products/1374844309/d66b2cb7-c385-4fe4-93d0-4b9abb7d235d-original.webp")!important}
#form-187828748:has(input[name="options[1842563856]"][value="324275509"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/products/1374844309/d8a30065-d18e-43dd-be86-3da6b70a6ac8-original.webp")!important}
#form-187828748:has(input[name="options[1842563856]"]:checked) .s-product-card-image>a>img{opacity:1!important;filter:none!important}
#form-187828748:has(input[name="options[1842563856]"]:checked) .s-product-card-hover-img{display:none!important}
#form-1418108018:has(input[name="options[400982123]"][value="300087425"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/ef867ed8-0a44-4e6b-afd7-480f73d1137b-original.webp")!important}
#form-1418108018:has(input[name="options[400982123]"][value="1674512258"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/1e63376d-d7ca-48b4-95dc-01669d351504-original.webp")!important}
#form-1418108018:has(input[name="options[400982123]"][value="1033119363"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/0976b22f-c7d6-4632-bd20-7f8918100940-original.webp")!important}
#form-1418108018:has(input[name="options[400982123]"][value="259081612"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/1b22a38d-2dfa-4b49-a38b-f02244d416c3-original.webp")!important}
#form-1418108018:has(input[name="options[400982123]"][value="1499358349"]:checked) .s-product-card-image>a>img{content:url("https://cdn.files.salla.network/other/1374844309/0e71b2d2-7a32-4701-8dc3-ab26e801675c-original.webp")!important}
#form-1418108018:has(input[name="options[400982123]"]:checked) .s-product-card-image>a>img{opacity:1!important;filter:none!important}
#form-1418108018:has(input[name="options[400982123]"]:checked) .s-product-card-hover-img{display:none!important}


/* Keep original product and swatch colors when inventory is unavailable. */
custom-salla-product-card.s-product-card-out-of-stock .s-product-card-image>a>img{filter:none!important}
custom-salla-product-card .s-product-options-colors-item.s-product-options-option-stock-out{opacity:1!important}

/* Women pants: show size alone, with availability on the card button. */
#form-1108736381 .option-box[data-value="791406562"]{font-size:0!important}
#form-1108736381 .option-box[data-value="791406562"]::after{content:"XS";font-size:12px;line-height:16px}
#form-1108736381 .option-box[data-value="2028996323"]{font-size:0!important}
#form-1108736381 .option-box[data-value="2028996323"]::after{content:"S";font-size:12px;line-height:16px}
#form-1108736381 .option-box[data-value="1256007148"]{font-size:0!important}
#form-1108736381 .option-box[data-value="1256007148"]::after{content:"M";font-size:12px;line-height:16px}
#form-1108736381 .option-box[data-value="616187117"]{font-size:0!important}
#form-1108736381 .option-box[data-value="616187117"]::after{content:"L";font-size:12px;line-height:16px}
#form-1108736381 .option-box[data-value="1988584430"]{font-size:0!important}
#form-1108736381 .option-box[data-value="1988584430"]::after{content:"XL";font-size:12px;line-height:16px}
#form-1108736381 .option-box[data-value="1080918767"]{font-size:0!important}
#form-1108736381 .option-box[data-value="1080918767"]::after{content:"2XL";font-size:12px;line-height:16px}