:root{
    --prymaryColor: #FFFFFF;
    --secondaryColor: #000000;
    --tertiaryColor: #cda434;
    --quaternaryColor: #7392B7;
    --bg-color: #EFEFEF;
}

/* |--- -- ---- -- ---| */
/* |--- -- MAIN -- ---| */
/* |--- -- ---- -- ---| */

.main{
    padding-top: 40px;
}

/* |--- -- ----- -- ---| */
/* |--- -- ASIDE -- ---| */
/* |--- -- ----- -- ---| */

.aside{
    position: fixed;
    top: 196px;
    left: -125px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 180px;
    height: auto;
    padding: 16px 16px 50px 16px;
    background-color: var(--bg-color);
    border-radius: 0 12px 12px 0;
    border: 1px solid #000;
    box-shadow: 3px 3px var(--secondaryColor),
                0px 3px var(--secondaryColor);
    transition: .3s ease-in-out;
    z-index: 1;
}

.aside__close{
    position: absolute;
    top: 18px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50px;
    height: 25px;
    cursor: pointer;
    z-index: 1;
}

.aside__barra{
    width: 45%;
    height: 8px;
    border-radius: 8px;
    background-color: var(--tertiaryColor);
    box-shadow: 0px 0px 3px #fff;
    transition: .4s ease-in-out;
}

.aside__barra--first{
    transform: rotate(38deg); 
    animation: animationA1 .7s forwards;
}

.aside__barra--last{
    transform: rotate(-38deg); 
    animation: animationA2 .7s forwards;
}

.aside__close.aside__close--active .aside__barra--first{
    transform: rotate(38deg);
    animation: animationB1 .7s forwards;
}

.aside__close.aside__close--active .aside__barra--last{
    transform: rotate(-38deg);
    animation: animationB2 .7s forwards;
}

@keyframes animationB1 {
    10%{
        transform: rotate(0deg);
    }

    50%{
        width: 70%;
        transform: rotate(0deg);
    }

    70%{
        width: 70%;
        transform: rotate(0deg);
    }

    100%{
        width: 70%;
        transform: translateY(4px) rotate(44deg);
    }
}

@keyframes animationB2 {
    10%{
        transform: rotate(0deg);
    }

    50%{
        width: 70%;
        transform: rotate(0deg);
    }

    70%{
        width: 70%;
        transform: rotate(0deg);
    }

    100%{
        width: 70%;
        transform: translateY(-4px) rotate(-44deg);
    }
}

@keyframes animationA1 {
    10%{
        width: 70%;
        transform: rotate(0deg);
    }
    
    50%{
        width: 45%;
        transform: rotate(0deg);
    }
    
    70%{
        width: 45%;
        transform: rotate(0deg);
    }

    100%{
        width: 45%;
        transform: translateY(0px) rotate(38deg);
    }

}

@keyframes animationA2 {
    10%{
        width: 70%;
        transform: rotate(0deg);
    }
    
    50%{
        width: 45%;
        transform: rotate(0deg);
    }
    
    70%{
        width: 45%;
        transform: rotate(0deg);
    }

    100%{
        width: 45%;
        transform: translateY(0px) rotate(-38deg);
    }
}

.aside__type{ 
    position: relative;
    overflow: hidden;
}

.aside__line{
    position: absolute;
    top: 57.6px;
    height: 100%;
    border-left: 2px solid #000;
}

.aside__title{
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--secondaryColor);
}

.aside__subt{
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.aside__mark{
    padding: 5px 20px 5px 0px;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-weight: normal;
    font-size: 16px;
}

.aside__mark:hover{
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
}

.aside--open{
    left: 0px;
}

/* |--- -- ----- -- ---| */
/* |--- -- CARDS -- ---| */
/* |--- -- ----- -- ---| */

.contentCards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 90%;
    max-width: 1210px;
    margin: 0 auto;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 260px;
    height: 280px;
    background: var(--bg-color);
    border: 2px solid var(--secondaryColor);
    box-shadow: 4px 4px var(--secondaryColor);
    border-radius: 10px;
    overflow: hidden;
}

.card--soldout::after {
    content: "SOLD OUT";
    position: absolute;
    top: 35px;
    right: -74px;
    width: 100%;
    padding: 6px 0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background-color: var(--tertiaryColor);
    transform: rotate(45deg);
    z-index: 5;
}

.card__link{
    text-decoration: none;
}

.card__marco {
    position: relative; 
    transition: all 0.5s; 
    display: flex; 
    justify-content: center;
    height: 169px;
    background-position: center;
    background-image: url(../img/products/bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

.card__marco:hover {
    transform: translateY(-3px);
}

.card__glass {
    position: absolute;
    top: 0;left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e5e513;
}

.card__glass:hover {
    background: linear-gradient(120deg, #e5e5e513 30%, #f0f0f0 38%, #f0f0f0 40%, #e5e5e513 48%);
    background-size: 200% 100%;
    background-position: 100% 0;
    animation: loadScreen 1s forwards;
}

@keyframes loadScreen {
    100% {
        background-position: -90% 0;
    }
}

.card__picture {
    height: 100%;
    border-radius: 2px 2px 0 0;
}

.card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px 20px 20px;
}

.card__title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--secondaryColor);
}

.card__divider {
    width: 100%;
    border: 1px solid var(--secondaryColor);
    border-radius: 50px;
}

.card__footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card__price {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondaryColor);
}

.card__btnCart {
    height: 35px;
    background: var(--bg-color);
    border: 2px solid var(--secondaryColor);
    border-radius: 5px;
    padding: 0 15px;
    transition: all 0.2s;
    cursor: pointer;
}

.card__btnCart:hover {
    border-color: var(--tertiaryColor);
    transform: translateX(-3px) translateY(-3px);
    box-shadow: 3px 3px 1px var(--tertiaryColor);
}

.card__btnCart:active {
    box-shadow: inset 2px 2px 1px var(--tertiaryColor);
    transform: translateY(0px) translateX(0px);
}

.card__svgCart {
    width: 100%;
    height: 100%;
    fill: var(--secondaryColor);
    transition: all .2s;
}

.card__btnCart:hover .card__svgCart {
    fill: var(--tertiaryColor);
}