/* Puramu Woocommerce Combo Frontend Styles */

.puramu-product-combo-container {
    margin: 20px 0px 0px 0px;
}

.puramu-combo-products {
    display: flex;
    row-gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    margin-bottom: 20px;
}

.puramu-combo-product {
    display: flex;
    flex-direction: column;
    max-width: calc((100% - 88px) / 3);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    background-color: #fff;
}

.puramu-combo-product-image {
    text-align: center;
    margin-bottom: 10px;
}

.puramu-combo-product-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 5px;
    aspect-ratio: 1;
}

.puramu-combo-product-details .puramu-combo-product-name {
    font-size: 13px;
    font-weight: 600;
    margin: 0px;
    color: #333;
    display: block;
    line-height: 18px;
}

.puramu-combo-product-details .puramu-combo-product-name:hover {
    color: #da291c !important;
}

.puramu-combo-product-price {
    margin-top: 5px;
}

.puramu-combo-product-price bdi {
    color: #da291c;
}

.puramu-combo-original-price {
    text-decoration: line-through;
    color: #767676;
}

.puramu-combo-original-price bdi {
    font-size: 13px;
    font-weight: 400;
    margin: 0px;
    color: #767676;
    display: block;
    line-height: 18px;
}

.puramu-combo-plus {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 15px;
}

.puramu-combo-plus:nth-child(6),
.puramu-combo-plus:nth-child(12) {
    display: none;
}


@media screen and (max-width: 768px) {

    .puramu-combo-plus:nth-child(4),
    .puramu-combo-plus:nth-child(8) {
        display: none;
    }

    .puramu-combo-plus:nth-child(6) {
        display: block;
    }
}

.puramu-combo-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.puramu-combo-add-button {
    background-color: #E9452E !important;
    color: #FFF !important;
    border-radius: 5px;
    height: 44px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    margin: 0px !important;
    padding: 0px 20px !important;
    transition: all 0.2s ease !important;
}

.puramu-combo-add-button:hover {
    filter: brightness(0.9) !important;
}

.puramu-combo-checkbox-container {
    margin-top: 5px;
}

.puramu-combo-buy-checkbox {
    margin: 0px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.puramu-combo-buy-checkbox-label {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin: 0px;
}

.puramu-combo-product-checkbox {
    margin: 0px !important;
}

.puramu-combo-total {
    display: flex;
    flex-direction: column;
}

.puramu-combo-total-price,
.puramu-combo-original-total {
    display: flex;
    align-items: center;
    gap: 5px;
}

.puramu-combo-total-label {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0px;
    display: block;
    line-height: 16px;
}

.puramu-combo-total-price bdi {
    color: #da291c;
    font-size: 16px;
    font-weight: 700;
}

.puramu-combo-original-total .woocommerce-Price-amount {
    color: #767676;
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .puramu-combo-product {
        max-width: calc((100% - 44px) / 2);
        width: 100%;
    }

    .puramu-combo-summary {
        flex-direction: column;
    }

    .puramu-combo-total {
        margin-bottom: 10px;
        width: 100%;
    }

    .puramu-combo-add-to-cart {
        width: 100%;
        text-align: left;
    }

    .puramu-combo-add-button {
        height: 36px !important;
        font-size: 14px !important;
    }
}