.shop-basket-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.shop-basket-icon {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    background-color: currentColor;
    -webkit-mask: url("shop-basket.svg") center / contain no-repeat;
    mask: url("shop-basket.svg") center / contain no-repeat;
}

.shop-basket-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.shop-basket-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (forced-colors: active) {
    .shop-basket-icon {
        display: none;
    }

    .shop-basket-label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip-path: none;
    }
}

#site-footer .site-logo .custom-logo-link {
    display: inline-block;
    max-width: 10rem;
}

#site-footer .site-logo img {
    display: block;
    width: 10rem;
    max-width: 100%;
    height: auto;
}

.shop-basket-status {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.shop-basket-count {
    position: absolute;
    inset-block-start: -0.6rem;
    inset-inline-end: -0.75rem;
    min-width: 1.3rem;
    padding: 0.1rem 0.3rem;
    border: 1px solid #fff;
    border-radius: 1rem;
    background: #173b50;
    color: #fff;
    font: 700 0.75rem/1.2 sans-serif;
    text-align: center;
}

.shop-basket-count[hidden] {
    display: none;
}

.shop-basket-status.has-items .shop-basket-icon {
    transform: scale(1.08);
}

@media (forced-colors: active) {
    .shop-basket-count {
        position: static;
        border: 1px solid ButtonText;
        background: Canvas;
        color: CanvasText;
        margin-inline-start: 0.4rem;
    }
}
