.product-card {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 16px;
    width: 100%;
    border: 1px solid transparent;
    transition: border 0.3s ease, transform 0.3s ease;
    position: relative;
}

.product-image-info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #D8D8D8;
    padding-bottom: 16px;
    width: 100%;
    margin-top: -56px;
}

.product-image-wrapper {
    width: fit-content;
    position: relative;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-image {
    height: 160px;
    width: auto;
}

.product-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-top: 76px;
}

.product-card__title {
    color: var(--color-primary);
    font-size: 28px;
    line-height: 27px;
    font-weight: 700;
    margin-bottom: 8px;
}

.prev-price {
    color: var(--color-primary);
    font-size: 15px;
    line-height: 27px;
    font-weight: 450;
}

.shipping-total {
    color: var(--color-primary);
    font-size: 15px;
    line-height: 27px;
    font-weight: 450;
}

.new-price {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.product-card__features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 20px;
    width: fit-content;
}

.product-card__features--item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.features-icon {
    width: 24px;
    height: auto;
}

.features-text {
    color: var(--color-primary);
    font-size: 16px;
    line-height: 120%;
    font-weight: 450;
}

.product-card.selected {
    border: 1px solid #F6887B;
}

.product-card.selected .select-button {
    background-color: #F6887B;
    color: #FFFFFF;
}

.select-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #F6887B;

    color: var(--color-secondary);
    font-size: 18px;
    line-height: 23px;
    font-weight: 450;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.select-button:hover {
    background-color: #F6887B;
    color: #FFFFFF;
}

.discount {
    position: absolute;
    display: block;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FDCA41;
    width: fit-content;
    white-space: nowrap;
    border-radius: 17px;
    color: var(--color-primary);
    padding: 0 15px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 27px;
}

/* Hide discount badges */
.hidden {
    display: none;
}

/* Promo text styling */
.promo-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: #FE2E34;
    margin-top: 10px;
}

@media (max-width: 470px) {

    .product-card__features {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

@media (min-width: 1024px) {

    .product-card {
        padding: 30px 42px 17px 42px;
        max-width: 364px;
        width: 364px;
        cursor: pointer;
    }

    .product-card:hover {
        transform: scale(1.05);
    }

    .product-image-info-wrapper {
        flex-direction: column;
        border-bottom: none;
        padding-bottom: 0;
        margin-top: -140px;
        gap: 22px;
    }

    .product-image {
        height: 223px;
        width: auto;
    }

    .product-card__info {
        align-items: center;
        text-align: center;
        padding-top: 0;
    }

    .prev-price {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .shipping-total {
        font-size: 16px;
    }

    .features-text {
        font-size: 18px;
    }

    .product-card__features {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}