﻿.cbf-gifts {

}

.cbf-gifts .container-fluid {
    /*max-width: 1920px;
    margin: 0 auto;*/
}

.cbf-gifts .section {
    padding: 16px;
}

.cbf-gifts #header {
    min-height: 98px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cbf-gifts #header .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.cbf-gifts #header .parent-name {
    text-align: center;
    margin: 0 !important;
    font-family: Montserrat;
    font-size: 14px;
    line-height: 100%;
}

.cbf-gifts #header .category-name {
    text-align: center;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 100% !important;
}

/*Gifts sestion*/
.cbf-gifts #gifts .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cbf-gifts #gifts .gifts {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cbf-gifts #gifts .gift {
    position: relative;
    width: 172px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 10px;
    background: #F7F7F7;
    cursor: pointer;
    overflow: hidden;
}

.cbf-gifts #gifts .best-seller {
    position: absolute;
    top: 5px;
    left: 5.529px;
    height: 26px;
    padding: 9.6px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cbf-gold-1000);
    border-radius: 6px;
    color: var(--cbf-black-1000);
    text-align: center;
    font-family: "Roboto Condensed";
    font-size: 10.8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    z-index: 1;
}

.cbf-gifts #gifts .gift .image {
    position: relative;
}

.cbf-gifts #gifts .gift .image .description {
    margin: 0 !important;
    position: absolute;
    inset: 0;
    display: none;
    padding: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(152, 68, 186, 0.90);
    z-index: 1;
}

.cbf-gifts #gifts .gift .image .description * {
    margin: 0 !important;
    color: var(--cbf-white-1000);
    text-overflow: ellipsis;
    font-family: Roboto !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 140% !important;
    border-radius: 8px;
    background: rgba(152, 68, 186, 0.90);
    z-index: 1;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
}

.cbf-gifts #gifts .gift .image:hover .description {
    display: block;
}

.cbf-gifts #gifts .gift img {
    width: 100%;
    height: 166px;
    object-fit: cover;
    object-position: center;
}

.cbf-gifts #gifts .gift .details {
    padding: 0 8px 8px;
    display: flex;
    flex-direction: column;
}

.cbf-gifts #gifts .gift .details .category-name {
    color: #3180DF;
    margin: 0 0 5px 0 !important;
    font-size: 15px;
    line-height: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cbf-gifts #gifts .gift .details .title {
    min-height: 54px;
    font-weight: 700;
    line-height: 18px;
    margin: 0 0 12px 0 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cbf-gifts #gifts .gift .details .amount {
    color: var(--cbf-purple-1000);
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.cbf-gifts #gifts .gift .details .actions {
    display: none;
}

.cbf-gifts #gifts .gift .details .actions p {
    display: none;
}

.cbf-gifts #gifts .actions .button-back {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
}


@media(min-width: 768px) {

    .cbf-gifts #header {
        min-height: 180px;
        padding: 16px;
    }

.   cbf-gifts #header .content {
        width: 100%;
        max-width: 900px;
    }

    .cbf-gifts #header .parent-name {
        font-size: 16px;
        line-height: 100%;
    }

    .cbf-gifts #header .category-name {
        font-size: 34px !important;
        line-height: 42px !important;
    }

    .cbf-gifts #gifts {
        padding-bottom: 32px;
    }

    .cbf-gifts #gifts .content {
        gap: 16px;
    }

    .cbf-gifts #gifts .gifts {
        max-width: 1048px;
        margin: 0 auto;
        padding: 0 16px 16px;
        gap: 32px;
        flex-wrap: wrap;
    }

    .cbf-gifts #gifts .gift {
        width: 230px;
        padding: 8px;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
        overflow: visible;
    }

    .cbf-gifts #gifts .best-seller {
        top: 15px;
        left: -16px;
        height: 35px;
        padding: 12.44px;
        border-radius: 7.778px;
        font-size: 14px;
    }

    .cbf-gifts #gifts .gift img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }

    .cbf-gifts #gifts .gift .details {
        padding: 0;
    }

    .cbf-gifts #gifts .gift .details .category-name {
        margin: 0 0 2px 0 !important;
        font-size: 13px;
        line-height: 150%;
    }

    .cbf-gifts #gifts .gift .details .title {
        min-height: 63px;
        line-height: 21px;
        margin: 0 0 2px 0 !important;
    }

    .cbf-gifts #gifts .gift .details .amount {
        font-size: 30px;
        font-weight: 700;
        line-height: 42px;
        margin-bottom: auto;
    }

    .cbf-gifts #gifts .gift .details .actions {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 4px;
    }

    .cbf-gifts #gifts .gift .details .actions p {
        display: block;
        margin: 0px !important;
        padding-block: 4px;
        color: var(--cbf-purple-1000) !important;
        font-family: "Roboto Condensed";
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .cbf-gifts #gifts .gift .details .actions button {
        height: 45px;
        padding: 16px !important;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        color: var(--cbf-black-1000) !important;
        text-align: center;
        font-size: 18px !important;
        line-height: normal !important;
    }

}