*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #F2EAE2;
    font-family: 'Montserrat', 'sans-serif';
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

.card__container {

    background-color: var(--white);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 90%;
    width: 37.5rem;
    margin: 0 auto;
    margin-top: 11rem;
    margin-bottom: 10%;
    border-radius: 15px;
    overflow: hidden;
    max-width: 90%;
}


html,
body {
    height: 100%;
    margin: 0;
}

.card__img {
    background: url(../images/image-product-desktop.jpg)lightgray 0px 0px / 112.565% 100% no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    border-radius: 15px 0 0 15px;
    background-repeat: no-repeat;
    display: block;
}

.card__content {
    display: flex;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    background: #FFF;
    align-self: stretch;
    flex: 1;


}

.card__content-text {
    display: flex;
    width: 236px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.card__small-title {
    color: #6C7289;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 5px;
}

.card__main-title {
    color: #1C232B;
    font-family: Fraunces;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    align-self: stretch;
}

.card__descripition {
    color: #6C7289;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
}

.card__price-main {
    display: flex;
    align-items: center;
    gap: 2.1rem;
}

.card__price {
    color: #3D8168;
    font-family: Fraunces;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.card__price-strike {
    color: #6C7289;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    text-decoration-line: line-through;
}

.btn {
    display: flex;
    flex-direction: row-reverse;
    width: 236px;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background-color: #3D8168;
    color: #FFF;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

#card__cart {
    transform: scaleX(-1);
}

.btn:hover {
    background-color: #1A4032;
    cursor: pointer;
}

@media screen and (max-width: 650px) {

    .card__container {
        margin-top: 10%;
        grid-template-columns: 1fr;
        grid-template-rows: 15rem 1fr;
        border-bottom: 15px;

    }

    .card__img {
        background: url(../images/image-product-mobile.jpg)lightgray 0px 0px / 112.565% 100% no-repeat;
        border-radius: 15px 15px 0 0;
    }
}