/*HOMEPAGE*/

#homepage .simpleCart_shelfItem {
    position: relative;
    display: inline-block;
    width: 27rem;
    height: 27rem;
    padding: 0;
    color: var(--main-font-color);
    font-family: var(--fancy-font-family);
    font-size: 1.6rem;
    font-weight: 700;
}

#homepage .simpleCart_shelfItem .img-overlay {
    width: 26.8rem;
    height: 26.8rem;
}

#homepage .simpleCart_shelfItem .item-info {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 26.8rem;
    border: solid 0.2rem white;
}

#homepage .simpleCart_shelfItem .black-background {
    background-color: black;
}

#homepage .simpleCart_shelfItem:hover .item-info {
    display: block;
    z-index: 3;
}

#homepage .simpleCart_shelfItem .item-title {
    color: white;
    font-family: var(--normal-font-size);
    font-size: var(--normal-font-size);
    font-weight: 500;
    padding: calc(0.5rem * var(--item-size-multiplier)) calc(2.1rem * var(--item-size-multiplier));
}

#homepage .simpleCart_shelfItem .price_block {
    font-size: var(--normal-font-size);
    font-family: var(--main-font-family);
    color: var(--link-highlight-color);
    padding: calc(0.5rem * var(--item-size-multiplier)) calc(2.1rem * var(--item-size-multiplier));
}

#homepage .simpleCart_shelfItem .price_block .old-price {
    font-size: var(--small-font-size);
    color: white;
    text-decoration-line: line-through;
    font-weight: 500;
}

#homepage .simpleCart_shelfItem .button-action {
    display: inline-block;
    border: none;
    font-family: var(--fancy-font-family);
    background-color: var(--link-highlight-color);
    color: white;
    font-size: var(--smaller-font-size);
    font-style: italic;
    padding: calc(0.5rem * var(--item-size-multiplier)) calc(1.1rem * var(--item-size-multiplier));
    margin: calc(0.5rem * var(--item-size-multiplier)) calc(2.1rem * var(--item-size-multiplier)) calc(3rem * var(--item-size-multiplier));
}

#homepage .simpleCart_shelfItem .button-action:hover {
    color: var(--link-highlight-color);
    background-color: white;
}

#homepage .simpleCart_shelfItem .img-main img {
    width: 100%;
}

/*CAROUSEL*/

#slideshow {
    width: 117rem;
    height: 60.5rem;
    overflow: hidden;
    position: relative;
    padding: 0 0 3rem;
}

#slideshow img {
    position: absolute;
    top: 0;
}

.banner-2-3 {
    width: calc(0.6754 * (100% - 3rem));
}

.banner-1-3 {
    width: calc(0.3245 * (100% - 3rem));
}

@media screen and (max-width: 1230px) {
    .banner-carousel {
        width: calc(100vw - 6rem);
        height: calc(0.517 * (100vw - 6rem));
    }
    #homepage .simpleCart_shelfItem .item-info {
        width: calc(100% - 0.2rem);
    }
}

@media screen and (max-width: 1230px) and (min-width: 757px) {
    #homepage .simpleCart_shelfItem {
        width: calc((100vw - 15rem) / 4);
        height: calc((100vw - 15rem) / 4);
    }
    #homepage .simpleCart_shelfItem .img-overlay {
        width: calc((100vw - 15rem) / 4 - 0.2rem);
        height: calc((100vw - 15rem) / 4 - 0.2rem);
    }
}

@media screen and (max-width: 756px) {
    #homepage .simpleCart_shelfItem {
        width: calc((100vw - 9rem) / 2);
        height: calc((100vw - 9rem) / 2);
    }
    #homepage .simpleCart_shelfItem .img-overlay {
        width: calc((100vw - 9rem) / 2 - 0.2rem);
        height: calc((100vw - 9rem) / 2 - 0.2rem);
    }
}