/* Hide the decorative SALE ribbon only; retain actual discount badges and prices. */
html body #rs-home-categories a > .tw-col-span-5::after{content:none!important;display:none!important}

/* Same Stud switches, corner radius and texture strength as the Theme panel. */
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white{
 position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;
 border:2px solid #080b12!important;border-radius:var(--rs-button-radius,5px)!important;
 background:linear-gradient(145deg,#303747,#1b2230)!important;
 box-shadow:inset 0 1px 0 #8d96ac,inset 1px 0 0 #ffffff19,inset 0 -4px 0 #10141f,0 4px 0 #05070b!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 transition:transform .15s ease,border-color .15s ease!important;
}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white::before{
 content:""!important;position:absolute!important;inset:2px!important;z-index:-1!important;pointer-events:none!important;
 width:auto!important;height:auto!important;border:0!important;border-radius:0!important;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath fill='%23000' d='M2 2h5v5H2z'/%3E%3Cpath fill='%23fff' d='M2 2h5v1H3v4H2z'/%3E%3Cpath fill='%23000' d='M7 3h1v5H3V7h4z'/%3E%3C/svg%3E") repeat!important;
 opacity:calc(var(--rs-button-stud,.15) * .8)!important;transform:none!important;filter:none!important;box-shadow:none!important;animation:none!important;
}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white::after{content:none!important;display:none!important}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white > a{position:relative;display:block;height:100%}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories a > .tw-col-span-5,
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories a > .tw-col-span-5 img{border-radius:max(0px,calc(var(--rs-button-radius,5px) - 2px))!important}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories h4{color:#f4f6ff!important;-webkit-text-fill-color:#f4f6ff!important;text-shadow:0 1px 0 #000}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white:focus-within{outline:3px solid #f5cc58;outline-offset:3px}
@media(hover:hover){html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white:hover{transform:translateY(-2px)!important;border-color:#b3964b!important}}
html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white:active{transform:translateY(2px)!important}
@media(prefers-reduced-motion:reduce){html[data-rs-buttons="stud"][data-rs-stud-panels="on"] body #rs-home-categories .tw-grid > .tw-col-span-6.tw-bg-white{transition:none!important;transform:none!important}}
