*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary-color: #79797a;
    --text-tertiary-color: #505051;
    --footer-bg: #fafafa;
}

@media (prefers-color-scheme: dark) {
    body{
        --bg-color: #121212;
        --text-color: #ffffff;
        --text-secondary-color: #d7d6d6;
        --footer-bg:#121212;
    }
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
}

.cards-container{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Card 1 */
.prod-card{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    border-radius: 10px;
    width: 200px;
    height: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prod-image{
    width: 180px;
    border-radius: 10px;
}

.prod-details{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.prod-details h2{
    font-weight: 500;
}

.prod-details p{
    text-align: center;
    margin-top: 10px;
    font-size: medium;
    color: var(--text-secondary-color);
}

.prod-details .amount{
    text-align: center;
    margin-top: 10px;
    font-size: larger;
    font-weight: 500;
    color: var(--text-color);
}

.prod-details .ratings{
    margin-top: 10px;
}

.buy-btn{
    position: absolute;
    outline: none;
    border: none;
    background-color: #065e79;
    color: #ffffff;
    font-size: larger;
    width: 100%;
    margin-top: 10px;
    bottom: 0px;
    padding: 10px 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
}




/* Card 2 */
.prod-card-2{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    border-radius: 10px;
    width: 200px;
    height: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.8s ease;
}

.prod-image-2{
    width: 180px;
    border-radius: 10px;
}

.prod-details-2{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.prod-details-2 h2{
    font-weight: 500;
}

.prod-details-2 p{
    text-align: center;
    margin-top: 10px;
    font-size: medium;
    color: var(--text-secondary-color);
}

.prod-details-2 .amount{
    text-align: center;
    margin-top: 10px;
    font-size: larger;
    font-weight: 500;
    color: var(--text-color);
}

.prod-details-2 .ratings-2{
    margin-top: 10px;
}

.buy-btn-2{
    position: absolute;
    outline: none;
    border: none;
    background-color: #065e79;
    color: #ffffff;
    font-size: larger;
    width: 100%;
    margin-top: 10px;
    bottom: 0px;
    padding: 10px 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
}



@media (max-width: 468px){
    .prod-card-2{
        position: relative;
        display: flex;
        flex-direction: row;
        gap: 3px;
        align-items: center;
        border-radius: 10px;
        width: 340px;
        height: 200px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .prod-image-2{
        width: 140px;
    }

    .prod-details-2 p{
        margin-top: 2px;
        font-size: medium;
    }

    .prod-details-2 .amount{
        margin-top: 2px;
    }

    .prod-details-2 .ratings-2{
        margin-top: 2px;
    }

    .buy-btn-2{
        padding: 7px 0;
    }
}