.float-grid {
    background-color: #fff;
}

.float-grid-head {
    padding: 2rem 20px 20px 20px;
    max-width: 1320px;
    margin-inline: auto;
    color: #000;
}

.float-grid-head h2 p {
    font-size: 3rem;
    color: #000;
}


.mrc-pp-plp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1320px;
    margin-inline: auto;
    padding-bottom: 3rem;
}

.float-grid-intro-section {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-top: 4rem;
    padding-bottom: 0;
    margin-block: 0;
}

.float-grid-title {
    margin-bottom: 0;
}
.float-grid-title p, .float-grid-copy p {
    margin-block: 0;
}
.float-grid-title strong {
    background-color: #bdff3c;
    border: 3px solid #bdff3c;
    border-top: none;
    border-bottom: none;
}

.product-card {
    /* border: 1px solid #000; */
    display: flex;
    flex-direction: column;
    transition: background-color 0.1s ease-in-out, transform 0s linear;
    padding: 5%;
    box-sizing: border-box;
}
.product-card-media {
    width: 100%;
    padding-top: 100%; /* This will make the height equal to the width */
    position: relative; /* This will allow the image to be positioned absolutely within it */
    overflow: hidden;
}
.product-card-media-img {
    position: absolute; /* This will position the image within the .product-card-media */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
.product-card-end {
    padding: 0 0 0 0;
}

.product-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.product-expanded-title {
    font-size: 1.7rem;
    font-weight: bold;
}
.product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-card-price {
    font-size: 18px;
    padding: 2px 10px;
    border: 1px solid #000;
    border-radius: 20px;
    background-color: #fff;
    cursor: default;
}
.product-vard-variants {
    display: flex;
    gap: 10px;
}

.product-card-sides {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.product-card-waiting {
    display: none;
    font-size: 0.8rem;
}

.product-card-waiting ul {
    margin-bottom: 0;
    font-size: 1rem;
}
.product-card-badges {
    display: flex;
    gap: 8px;
    margin-block: 10px;
    flex-wrap: wrap;
}
.product-card-badges span, .product-card-overlay-badges span {
    padding: 5px 10px;
    background-color: #fff;
    color: #000;
    border-radius: 15px;
    font-size: 12px;
    cursor: default;
}
.product-card-badges span:nth-of-type(n + 3), .product-card-overlay-badges span:nth-of-type(n + 3) {
    background-color: #eee;
}
.product-card-badges span {
    background-color: #cdff63;
}
.additional-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.additional-badge img {
    border-radius: 0;
}
.product-card-overlay-badges {
    display: flex;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    gap: 0.6rem 1rem;
    flex-wrap: wrap;
    line-height: 1.2;
}
.product-card-expand {
    position: absolute;
    bottom: 1rem;
    /* left: 50%;
    transform: translate(-50%, 0); */
    left: 1rem;
    z-index: 3;
}
.product-expand-plus {
    height: 48px;
    width: 48px;
    fill: #111;
    display: none
}

.action-buttons button {
    font-size: 1rem;
    padding: 2px 20px;
    border-radius: 20px;
    border: 1px solid #254433;
    background-color: #254433;
    color: #fff;
    cursor: pointer;
    line-height: 1.3rem;
    display: none;
    margin-left: 0.5rem;
}
.product-icons {
    display: flex;
    gap: 1.6rem;
}
svg.product-icon {
    height: 30px;
    width: 30px;
}

.product-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.5rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.5rem;
    max-width: 30px;
    margin-block: 10px;
}
.product-icon-container img {
    border-radius: 0 !important;
}

/* Swiper */

/* .swiper-wrapper {
  height: 200px;
} */
.swiper-slide {
    background-color: #FAF4EC;
    padding: 3rem;
    /*position: relative;*/
    border-radius: 20px;
    overflow: hidden;
}
.swiper-slide:nth-of-type(2n) {
    background-color: #e3e3e3;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    max-height: 250px;
    min-height: 290px;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1rem;
    line-height: 1rem;
    color: #111;
    /* background-color: #fff; */
    border-radius: 100%;
    height: 1.2rem;
    width: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullet-active {
    background-color: #cdff63;
}

.swiper-pagination {
    width: fit-content;
    background-color: #fff;
    right: 1em;
    bottom: 1em;
    left: auto;
    padding-inline: 0.5em;
    border-radius: 25px;
    font-size: 0.8rem;
}



/* desktop */

@media (hover) and (min-width: 761px) {

    .product-card:hover {
        width: calc(200% + 20px);
        z-index: 3;
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        flex-direction: row;
        gap: 6.5%;
        /* margin-bottom: 2.4rem; */
    }
    .product-card:nth-of-type(3n):hover {
        transform: translateX(calc(-50% - 10px));
    }
    .product-card:hover .product-card-title,
    .product-card:hover .product-card-overlay-badges{
        opacity: 0;
    }
    .product-card:hover .product-card-sides {
        width: calc(50% - 10px);
    }
    .product-card:nth-of-type(3n):hover .product-card-waiting {
        order: -1;
    }
    .product-card:hover .product-card-waiting {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 50%;
        height: 100%;
    }
    .product-card:hover .action-buttons button {
        display: inline;
    }
}

/* small desktop */
@media (max-width: 1200px) {
    .mrc-pp-plp {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (hover) and (min-width: 761px) and (max-width: 1200px) {
    .mrc-pp-plp {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card:nth-of-type(3n):hover {
        transform: none;
    }
    .product-card:nth-of-type(2n):hover {
        transform: translateX(calc(-50% - 10px));
    }
    .product-card:nth-of-type(3n):hover .product-card-waiting {
        order: unset;
    }
    .product-card:nth-of-type(2n):hover .product-card-waiting {
        order: -1;
    }
}

/* tablet */
@media only screen and (max-width: 1439px) {
    .float-grid-head h2 p {
        font-size: calc(2.1rem * var(--adjust-heading));
    }
}
/* mobile */
@media (max-width: 760px) {
    .mrc-pp-plp {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
    .product-card-expand {
        cursor: pointer;
    }
    .product-expanded-title {
        font-size: 1.4rem;
    }

    .float-grid-head h2 p {
        font-size: calc(1.75rem * var(--adjust-heading));
    }

    .product-card-waiting {
        flex-direction: column;
    }
    .product-card-overlay-badges {
        display: flex;
    }
    .product-expand-plus {
        display: block;
    }
    .product-card.expanded {
        background-color: #fff;
        border-radius: 25px;
        box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .product-card.expanded .product-card-waiting,
    .product-card.expanded .product-icons {
        display: flex;
    }
    .product-card.expanded .product-icons {
        margin-block: 1rem;
    }
    .product-card.expanded .action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .product-card.expanded .action-buttons button {
        display: inline;
        height: 34px;
        margin-left: 0;
    }
    .product-card.expanded h3.product-card-title {
        display: none;
    }
    .product-card.expanded .product-card-overlay-badges {
        display: none;
    }
}