.c-product-interconnection-detail-params__products.is-type--photos a .item-type-img
{
   
    width: 60px !important;
    height: 60px !important;
    background-size: auto !important;
    border-radius: 5px !important;
}

span.advanced-parameter-inner
{
    border-radius: 5pxa !important;
}

.c-product-interconnection-detail-params__products.is-type--photos a.is-current span.item-type-img
{
     border: none !important;
}


/* Selektor zjednodušíme, aby ho nic nepřebilo, a zacílíme na aktivní stav */
.is-current .item-type-img {
    position: relative !important;
    display: inline-block !important; /* Nutné, aby span nebyl jen neviditelný bod */
    overflow: visible !important;    /* Aby linka nebyla oříznutá */
}
.is-current span.item-type-img::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -5px !important;           /* Posuneme pod obrázek */
    width: 100% !important;
    height: 2px !important;            /* Tlustší linka, aby byla vidět */
    background-color: #000 !important;
    z-index: 9999 !important;
}

/* Zašednutí a decentní přeškrtnutí u variant bez skladu */
.c-product-interconnection-detail-params__products.is-type--photos a.is-out-of-stock .item-type-img {
    filter: grayscale(100%) !important;
    opacity: 0.6 !important;
    position: relative !important;
}
.c-product-interconnection-detail-params__products.is-type--photos a.is-out-of-stock::after,
.c-product-interconnection-detail-params__products.is-type--photos a.wd-disabled::after{
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: -2px !important;
    top: 50% !important;
    width: calc(100% + 4px) !important;
    height: 1.3px !important;
    background: #4f4646 !important;
    transform: rotate(-45deg) !important;
    transform-origin: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
}
.c-product-interconnection-detail-params__products.is-type--photos a.is-out-of-stock .item-label {
    opacity: 0.75;
    text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-decoration-thickness: 1px;
}