body {
    background-color: white !important;
}

main {
    width: 100%;
}

.title {
    font-size: 2em;
    font-family: var(--bold-font);
    color: var(--primary-color);
    margin-left: 10%;
}

.selected {
    position: relative;
    font-size: 1.6em;
    font-family: var(--bold-font);
    color: var(--primary-color);
    margin-left: 4%;
}

.subtitle {
    font-size: 1.4em;
    color: #ccc;
    margin-left: 4%;
}

.first {
    margin-left: 10%;
}

.hr-subtitle {
    position: relative;
    margin-top: 50px;
}

.hr-subtitle>hr {
    width: 90%;
    margin-bottom: 0;
}

.selected-hr {
    position: absolute;
    left: -15%;
    top: 30px;
    border: 0;
    border-top: 8px solid var(--primary-color);
    width: 130%
}

.cards-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 80%;
    gap: 3%;
}

.primary-card {
    position: relative;
    width: 51%;
    height: 100%;
}

.card-img {
    display: block;
    width: 100%
}

.card-grid{
    width: 49%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

.row-2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 22px;
    width: 100%;
}

.secondary-card {
    position: relative;
    border-radius: 15px;
    width: 100%;
}

.small-card-img {
    display: block;
    width: 100%;
    z-index: -1;
}

.card-title {
    font-size: 2vw;
    font-family: var(--bold-font);
    color: white;
    position: absolute;
    top: 20%;
    left: 10%;
}

.card-sku {
    font-size: 1.3vw;
    color: white;
    position: absolute;
    top: 13%;
    left: 10%;
}

.card-button {
    font-size: 1.4vw;
    color: white;
    position: absolute;
    top: 35%;
    left: 10%;

    -webkit-transition: 0.15s padding ease-out;
    -o-transition: 0.15s padding ease-out;
    transition: 0.15s padding ease-out;
}

.small-card-title {
    font-size: 1.1vw;
    font-family: var(--bold-font);
    line-height: 1.3vw;
    color: white;
    position: absolute;
    bottom: 20%;
    left: 7.5%;
}

.small-card-sku {
    font-size: 0.65vw;
    color: white;
    position: absolute;
    bottom: 45%;
    left: 7.5%;
}

.small-card-button {
    font-size: 0.9vw;
    color: white;
    position: absolute;
    bottom: 8%;
    left: 7.5%;
    -webkit-transition: 0.15s padding ease-out;
    -o-transition: 0.15s padding ease-out;
    transition: 0.15s padding ease-out;
}

.card-button:hover,
.small-card-button:hover {
    padding-left: 30px;
}

.products {
    background-color: var(--light-color);
    padding-bottom: 150px;
}

.product-subtitle-div {
    margin-left: 10%;
    padding-top: 3%;
}

.product-subtitle-div > a{
    margin-left: 1%;
    color: var(--primary-color);
}

.product-subtitle {
    font-size: 1.7em;
    color: var(--primary-color);
}


.product-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    margin: auto;
    margin-top: 30px;
    width: 80%;
    grid-gap: 5px;
    justify-items: center;
}

.product-card {
    position: relative;
    /* width: 20%;
    height: 30%; */
    width: 300px;
    height: 450px;
    /* 25em; */
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    /* margin: 0 0.5%; */
}

.product-img-div {
    /* width: 100%; */
    height: 300px;
    width: 300px;
    border-radius: 15px;
}

.img-product {
    width: 100%;
    height: 100%;
    border-radius: 15px 15px 0 0;
    -o-object-fit: contain;
    object-fit: contain;
    background-color: var(--lighter-color);
}

.product-title {
    font-size: 1.1em;
    font-family: var(--bold-font);
    position: absolute;
    top: 325px;
    left: 20px;
    width: 260px;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.product-description {
    position: absolute;
    top: 350px;
    left: 20px;
    margin-right: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.product-price {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: var(--bold-font);
}

.product-save {
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.disabled-link {
    pointer-events: none;
}