/* Category links remain native anchors; no JavaScript or checkout changes. */
body.sdr-store-reptail .rp-categories{gap:24px;align-items:stretch;}
body.sdr-store-reptail .rp-category{
    display:flex;flex-direction:column;min-width:0;padding:18px;
    background:#fff;border:1px solid #dce5de;border-radius:18px;
    box-shadow:0 3px 12px rgba(18,54,39,.04);
    color:#183e30;text-decoration:none;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
body.sdr-store-reptail .rp-category .rp-category__top{display:none;}
body.sdr-store-reptail .rp-category .rp-category__image{
    display:flex;align-items:center;justify-content:center;
    height:220px;padding:12px;margin:0 0 20px;border-radius:12px;
    background:#f3f6f2;overflow:hidden;
}
body.sdr-store-reptail .rp-category .rp-category__image img{
    display:block;width:100%;height:100%;object-fit:contain;
    mix-blend-mode:normal;border-radius:8px;
    transition:transform .25s ease;
}
body.sdr-store-reptail .rp-category h3{
    margin:0 0 7px;font-size:clamp(19px,1.65vw,24px);line-height:1.25;
    letter-spacing:-.025em;color:#173e2e;overflow-wrap:break-word;hyphens:auto;
}
body.sdr-store-reptail .rp-category p{
    margin:0 0 22px;font-size:14px;line-height:1.5;color:#5b6c62;
}
body.sdr-store-reptail .rp-category::after{
    content:"Kategorie entdecken  →";display:flex;align-items:center;justify-content:center;
    box-sizing:border-box;min-height:46px;margin-top:auto;padding:11px 14px;
    background:#193f30;color:#fff;border:1px solid #193f30;border-radius:10px;
    font-size:14px;font-weight:700;line-height:1.35;text-align:center;
    transition:background .2s ease,border-color .2s ease,color .2s ease;
}
body.sdr-store-reptail .rp-category:focus-visible{
    outline:3px solid #df852e;outline-offset:4px;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
    body.sdr-store-reptail .rp-category:hover{
        background:#fff;border-color:#b3c7b9;transform:translateY(-4px);
        box-shadow:0 12px 26px rgba(18,54,39,.10);
    }
    body.sdr-store-reptail .rp-category:hover .rp-category__image img{transform:scale(1.035);}
    body.sdr-store-reptail .rp-category:hover::after{background:#ffab54;border-color:#ffab54;color:#183e30;}
}
@media(min-width:541px) and (max-width:1000px){
    body.sdr-store-reptail .rp-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
    body.sdr-store-reptail .rp-category .rp-category__image{height:190px;}
}
@media(max-width:540px){
    body.sdr-store-reptail .rp-categories{grid-template-columns:1fr;gap:18px;}
    body.sdr-store-reptail .rp-category{padding:16px;border-radius:16px;}
    body.sdr-store-reptail .rp-category .rp-category__image{height:200px;margin-bottom:18px;}
    body.sdr-store-reptail .rp-category h3{font-size:22px;}
    body.sdr-store-reptail .rp-category p{margin-bottom:18px;}
}
@media(prefers-reduced-motion:reduce){
    body.sdr-store-reptail .rp-category,
    body.sdr-store-reptail .rp-category .rp-category__image img,
    body.sdr-store-reptail .rp-category::after{transition:none!important;transform:none!important;}
}
