@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    color: #333;
    padding: 50px;
}

h1 {
    margin-bottom: 50px;
    font-weight: 100;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 100%;
    max-width: 1200px;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 1px 1px 15px .1px rgba(124, 124, 124, 0.271);
    padding: 10px;
    transition: all ease-in-out .3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 1px 1px 20px .1px rgba(0, 0, 0, 0.35);
}

.product-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 150px;
    max-height: 150px;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}

.product-title {
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.product-button {
    border: none;
    border-radius: 15px;
    padding: 10px;
    background-color: #ff9500;
    color: #fff;
    cursor: pointer;
    transition: all ease-in-out .3s;
    margin-top: auto;
}

.product-button:hover {
    background-color: rgba(255, 162, 33, 0.673);
}

.sold-out {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
}