/* Flexible, tweak as needed */
.bp-bucket-builder-container {
    padding-bottom: 130px;
}

.bp-bucket-category-filter {
    margin-bottom: 1em;
}

.bp-bucket-products-grid {
    margin-left: -15px;
    margin-top: -15px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.bp-bucket-product-item {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    transition: box-shadow .25s;
    position: relative;
    margin-left: 15px;
    margin-top: 15px;
    width: calc(20% - 20px);
    height: 245px;
    box-sizing: border-box;
}

    .bp-bucket-product-item:hover {
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }

.bp-bucket-thumb {
    cursor: pointer;
    width: 100%;
    height: 130px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.bp-bucket-title {
    font-weight: normal;
    margin: 10px 0 8px;
    font-size: 14px;
    height: 42px;
    overflow: hidden;
}

.bp-bucket-select-trigger {
    display: block;
    margin: 10px 0 0 0;
    cursor: pointer;
    background: #ddd;
    padding: 5px 15px;
    border-radius: 4px;
    border: none;
}

.bp-bucket-qty-selector {
    display: flex; /* Initially hidden via style */
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}

    .bp-bucket-qty-selector input[type=number] {
        width: 50px;
        text-align: center;
    }

.bp-bucket-qty-minus, .bp-bucket-qty-plus {
    background: #eee;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 17px;
}

.bp-bucket-product-item.selected {
    background: #FD90DE;
    color: #fff;
}

.bp-bucket-fixed-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    background: #FD90DE;
    color: #fff;
    text-align: center;
    box-shadow: 0 -2px 14px rgba(0,0,0,0.24);
    padding: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-bucket-fixed-bar-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px;
    gap: 12px;
}

.bp-bucket-bar-info {
    font-size: 24px;
    margin-bottom: 10px;
}

.bp-bucket-bar-products {
    flex: 1 1 auto;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.bp-bucket-bar-product-item {
    background: #fff;
    color: #222;
    border-radius: 7px;
    padding: 7px 15px;
}

.bp-bucket-bar-addtocart {
    font-size: 1.13em;
    background: #dc3545;
    border: none;
    border-radius: 5px;
    color: #fff;
    padding: 10px 24px;
    opacity: .5;
    pointer-events: none;
    transition: all .19s;
}

    .bp-bucket-bar-addtocart.enabled {
        opacity: 1;
        pointer-events: auto;
        animation: btnPop .25s;
    }

@keyframes btnPop {
    0% {
        transform: scale(.9);
    }

    60% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


.bp-bucket-select-trigger.bp-disabled {
    opacity: 0.55;
    pointer-events: none;
    background: #ccc !important;
}

.bp-shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(7px);
    }

    70% {
        transform: translateX(-6px);
    }

    90% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

@media(min-width: 1200px) and (max-width: 1799.98px) {
    .bp-bucket-product-item {
        width: calc(25% - 20px);
    }
}

@media(min-width: 576px) and (max-width: 1199.98px) {
    .bp-bucket-product-item {
        width: calc(33.33% - 20px);
    }
}

@media(max-width: 575.98px) {
    .bp-bucket-product-item {
        width: calc(50% - 20px);
    }
}

@media (min-width:768.1px) {
    .woocommerce-page div.product div.images {
        width: 60% !important;
    }

    .woocommerce-page div.product div.summary {
        width: 38% !important;
    }
}

@media (max-width:768px) {
    .bucket-parent {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-page div.product div.images {
        order: 2;
    }

    .woocommerce-page div.product div.summary {
        order: 1;
    }
}
