/* Product Addons Widget */

.addons-title {
    font-size: 16px!important;
    font-weight: 700;
	font-family: "Open Sans", sans-serif!important;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.addon-item {
    border: 1px solid #ddd;
	border-radius: 12px;
    padding: 15px;
    text-align: left;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.addon-item:hover {
    border-color: #999;
}

.addon-item.selected {
    border-color: #2ea44f;
    background: #f0f9f4;
}

.addon-item.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #2ea44f;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.addon-item img {
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.addon-item-name {
    font-size: 13px;
    font-weight: 500;
    margin: 8px 0;
    line-height: 1.3;
    min-height: 35px;
}

.breakdance-woocommerce .product .addon-item-price .woocommerce-Price-amount bdi {
    font-size: 13px!important;
    font-weight: 600;
    color: #333;
}

.addon-checkbox {
    display: none;
}

/* Your Selections Summary */
.addon-selections-summary {
    border-top: 2px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.selections-title {
     font-size: 16px!important;
    font-weight: 700;
	font-family: "Open Sans", sans-serif!important;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.selections-count {
    font-weight: normal;
    font-size: 14px;
}

.selections-list {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.selection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.selection-item:last-child {
    border-bottom: none;
}

.selection-item-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.breakdance-woocommerce .product .selection-item-price .woocommerce-Price-amount bdi {
    font-size: 13px;
    font-weight: 600;
    margin: 0 15px;
    color: #333;
}

.selection-item-remove {
    background: #ee3824;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.selection-item-remove:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 1200px) {
    .addons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .addon-item {
        padding: 10px;
    }
    
    .addon-item img {
        height: 80px;
    }
    
    .selection-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .selection-item-name {
        flex-basis: 100%;
    }
}
