/* Imports */

@import url(main.css);
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

/* Styles */

.container-product {
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    padding: 0 15px;
    max-width: 1100px;
}



.products-box {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 12.5px;
    justify-content: center;
}

.download-product {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 15px 0 15px 0;
    box-sizing: border-box;
    text-align: center;
    font-family: 'IBM Plex Serif', serif;
    color: #000000b5;
    text-transform: uppercase;
    font-size: 14px;
}

.download-box {
    width: 60px;
    height: 30px;
    padding: 0 15px 0 15px;
    box-sizing: border-box;
}

.download-product svg {
    overflow: hidden;
    animation: download-spinner 1.4s linear infinite;
    box-sizing: border-box;
}

.download-product svg circle {
    stroke-dasharray: 88px;
    stroke-dashoffset: 0;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-animation: download-spinner-dash 1.4s ease-in-out infinite;
    animation: download-spinner-dash 1.4s ease-in-out infinite;
    stroke-width: 1;
    stroke-linecap: round;
    }

@keyframes download-spinner-dash {
    0% {
        stroke-dashoffset: 88px;
    }
    50% {
        stroke-dashoffset: 22px;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 88px;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg);
    }
}

@keyframes download-spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}
.download-anim {
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    border-right: solid black 1px;
}

.container-btn-load {
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 50px;
}

.container-btn-load .load-product {
    display: inline-block;
    height: 43px;
    width: 185px;
    border: solid 2.4px rgba(0, 0, 0, 0.2);
    padding: 10px 22px 10px 22px;
    background: none;
    transition: all 0.5s;
    text-align: center;
    font-size: 12px;
    font-family: 'IBM Plex Serif', serif;
    text-transform: uppercase;
    color: #000000cc;
    text-decoration: none;
    box-sizing: border-box;
}




.container-btn-load .load-product i {
    position: relative;
    font-size: 13px;
    margin-right: 3px;
    top: 1.4px;
}

.container-btn-load .load-product:hover {
    border: solid 2.6px var(--btn-color);
}


.product-box {
    margin-bottom: 40px;
    box-sizing: border-box;
    width: 350px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    list-style-type: none;
    max-width: 1100px;
}

.button-card-box:hover {
    box-shadow: 0 0 12px #bd6060a0;
}

.product-button {
    position: relative;
    display: flex;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    height: 40px;
    width: 100%;
    border: 0.8px solid rgba(0, 0, 0, 0.1);
    background: #bd6060;
    overflow: hidden;
}

.product-button-link {
    cursor: pointer;
    padding: 0;
    height: 40px;
    width: 100%;
    text-decoration: none;
    position: relative;
}

.product-button-link > .product-button {
    pointer-events: none;
}

.product-button span {
    position: relative;
    color: rgb(255, 255, 255);
    text-align: center;
    line-height: 40px;
    text-transform: uppercase;
    font-family: "Constantia W99 Italic";
    text-transform: lowercase;
    font-size: 23px;
    font-weight: 600;
    bottom: 2px;
}

.container-img-product {
    box-sizing: border-box;
    height: 350px;
}

.product-image-box {
    position: relative;
    box-sizing: content-box;
    overflow: hidden;
}

.content-product-box {
    height: 100%;
    box-sizing: border-box;
    padding-bottom: 5px;
}

.product-container a {
    font-family: "Constantia W99 Italic";
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
    text-align: center !important;
    text-decoration: none;
    color: #000;
    transition: color 0.6s ease;
}


.product-container .content-product-box a:hover {
    color: var(--btn-color);
}

.product-img:not(.clone) {
    box-sizing: content-box;
    width: 100%;
    height: 100%;
    cursor: pointer;
    max-width: 100%;
    -webkit-filter: brightness(100%) blur(0px);
    filter: brightness(100%) blur(0px);
    transition: -webkit-filter 0.6s ease;
    transition: filter 0.6s ease;
    transition: filter 0.6s ease, -webkit-filter 0.6s ease;
    -o-object-fit: cover;
    object-fit: cover;
}


.product-price {
    font-size: 1.2rem;
    font-family: 'Roboto Mono', monospace;
}

.product-price .ruble {
    position: relative;
    font-weight: bold;
    left: -3.5px;
}

.cost-box {
    display: flex;
    justify-content: center;
}

.button-card-container {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 10px 20px 0px 20px;
    width: 100%;
}

.button-card-box {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.product-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.title-box span {
    text-align: center !important;
}

.title-container-box {
    position: relative !important;
}

.title-container-card {
    padding-top: 13px;
    padding-left: 20px;
    padding-right: 20px;
}

.cost-container-card {
    padding-top: 13px;
    padding-left: 20px;
    padding-right: 20px;
}

.product-img-btn {
    position: absolute;
    box-sizing: border-box;
    width: 45px;
    height: 45px;
    padding: 5px 5px;
    opacity: 0.0;
    transition: all 0.3s;
    cursor: pointer;
}

.product-img-btn.favorite {
    top: 3px;
    right: 4px;
    transform: translateX(25%);
    transition: all 0.4s;
    overflow: visible;
}

.product-img-btn.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container-img-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.container-img-btn svg {
    position: relative;
    height: 50%;
    width: 50%;
    box-sizing: border-box;
    top: 1.5px;
    pointer-events: none;
}

.product-img-btn.favorite.active {
    fill: #f93e33;
}

.container-img-btn a {
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    box-sizing: border-box;
    border: solid 1px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    overflow: visible;
    height: 100%;
    width: 100%;
}


.product-image-box:hover .product-img-btn.favorite {
    transform: translateY(0%);
}

.product-image-box:hover .product-img-btn {
    opacity: 1;
}


/* Blick btn */

.product-button::after {
    content: '';
    z-index: 2;
    width: 15%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -75%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-35deg);
}

.product-button:hover::after {
    -webkit-animation: movelight 0.8s;
    animation: movelight 0.8s;
}


@-webkit-keyframes movelight {
    from {
        left: -75%;
    }

    to {
        left: 150%;
    }
}


@keyframes movelight {
    from {
        left: -75%;
    }

    to {
        left: 150%;
    }
}


@media (min-width: 1024px) {
    .product-box {
        width: calc(100% * 1 / 3.1);
    }
}

@media (max-width: 1024px) {
    .product-box {
        width: 48%;
    }
}

@media (max-width: 710px) {
    .product-box {
        width: 90%;
    }
}

