@keyframes gift-loading { 
    100% { 
        -webkit-transform: translate(-50%, -50%) rotate(360deg); 
        transform: translate(-50%, -50%) rotate(360deg); 
    } 
}

#gifts-container {
    padding: 1rem;
    clear: both;
    position: relative;
}

.cart-summary, .cart-items {
    position: relative;
}

#gifts-container:before,
.cart-summary:before, .cart-items:before {
    content: '\e5d5';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 40px;
    color: #FFF;
    z-index: 1;
    display: none;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga";
    animation: gift-loading 1s linear infinite;
    z-index: 3;
}

#gifts-container:after,
.cart-summary:after, .cart-items:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    display: none;
    z-index: 2;
}

#gifts-container.loading:after,
.cart-summary.loading:after, .cart-items.loading:after {
    display: block;
}

#gifts-container.loading:before,
.cart-summary.loading:before, .cart-items.loading:before {
    display: inline-block;
}

#gifts-container .title {
    padding: 0 16px 16px;
    margin-bottom: 7px;
    color: #10333F;
    padding-left: 35px;
    position: relative;
}

#gifts-container .title:before {
    content: "";
    position: absolute;
    top: calc(50% - 23px);
    left: 0;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkc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TUtMi4yNDMtNS01DQoJQzI5LjAyMywyNS41NzYsMzEuMjY3LDIzLjMzNCwzNC4wMjMsMjMuMzM0eiBNMTYuNjY3LDQwaDMwdjYuNjY3aC0zMFY0MHogTTIzLjMzMyw1My4zMzNoMjMuMzM0djIzLjMzNEgyMy4zMzNWNTMuMzMzeg0KCSBNNzYuNjY3LDc2LjY2N0g1My4zMzNWNTMuMzMzaDIzLjMzNFY3Ni42Njd6IE04My4zMzMsNDYuNjY3aC0zMFY0MGgzMFY0Ni42Njd6Ii8+DQo8L3N2Zz4NCg==);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 25px;
    height: 25px;
}

#gifts-container .load-bar {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #c6c6c6;
    overflow: hidden;
}

#gifts-container .load-bar .loading {
    height: 100%;
    background: #c50677;
}

#gifts-container .item-product {
    position: relative;
    width: calc(33.33% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
}

#gifts-container .item-product:nth-child(3n) {
    margin-right: 0;
}

#gifts-container .item-product .gift-overlay {
    opacity: 0;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    transition: all ease .3s;
    cursor: pointer;
}

#gifts-container .item-product.selected-gift .gift-overlay,
#gifts-container .item-product:hover .gift-overlay {
    opacity: 1;
}

#gifts-container .item-product .gift-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #FFF;
}

#gifts-container .products {
    display: flex;
    flex-wrap: wrap;
}

#gifts-container .item-product .gift-product {
    width: 100%;
    height: 100%;
    border: 1px solid #DCE5E9;
    padding: 10px;
}

#gifts-container .item-product .gift-product .thumbnail-container {
    float: none;
    display: flex;
    flex-direction: column;
}

#gifts-container .item-product .gift-product .ttproduct-desc {
    flex: 1;
}

#gifts-container .item-product .gift-product .ttproduct-desc .product-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#gifts-container .item-product .gift-product .ttproduct-desc .product-description .product-title {
    text-align: center !important;
}

#gifts-container .item-product .gift-product .ttproduct-desc .product-description .product-title a {
    font-size: 21px !important;
    text-align: center;
}

@media screen and (max-width: 991px) {
    #gifts-container .item-product {
        position: relative;
        width: calc(50% - 10px);
        margin-right: 10px;
        margin-bottom: 10px;
    }

    #gifts-container .item-product:nth-child(3n) {
        margin-right: 10px;
    }

    #gifts-container .item-product:nth-child(2n) {
        margin-right: 0;
    }

    #gifts-container .item-product .gift-product {
        padding: 5px;
    }
}

@media screen and (max-width: 425px) {
    #gifts-container .item-product .gift-product .cbd-product-thumbnail {
        height: 150px;
    }

    #gifts-container .item-product .gift-product .stars-container {
        display: none;
    }
}